From 6b546603acea401854f532f57ca5ff66341700ec Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Wed, 23 Jan 2019 14:24:45 +0000 Subject: libcamera: log: Fix two typos Two incorrect spellings are fixed. 'logr' -> 'log' 'environement' -> 'environment' Fixes: 747ace042cc1 ("libcamera: log: Get log levels from the environment") Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart The log levels configuration is stored in category:level pairs, not category=value. Fix the documentation. Signed-off-by: Laurent Pinchart --- src/libcamera/log.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libcamera/log.cpp') diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp index 241dc539..edeb5eab 100644 --- a/src/libcamera/log.cpp +++ b/src/libcamera/log.cpp @@ -29,7 +29,7 @@ * levels. * * The levels are configurable through the LIBCAMERA_LOG_LEVELS environment - * variable that contains a comma-separated list of 'category=level' pairs. + * variable that contains a comma-separated list of 'category:level' pairs. * * The category names are strings and can include a wildcard ('*') character at * the end to match multiple categories. @@ -134,9 +134,9 @@ void Logger::parseLogFile() /** * \brief Parse the log levels from the environment * - * The logr levels are stored in LIBCAMERA_LOG_LEVELS environement variable as a list - * of "category=level" pairs, separated by commas (','). Parse the variable and - * store the levels to configure all log categories. + * The log levels are stored in the LIBCAMERA_LOG_LEVELS environment variable + * as a list of "category:level" pairs, separated by commas (','). Parse the + * variable and store the levels to configure all log categories. */ void Logger::parseLogLevels() { -- cgit v1.2.1