Generic logger
log( $method, string $message ) : void
Main method for handling logging a message to the logger