diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-01-23 14:24:45 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-23 17:46:14 +0200 |
commit | 6b546603acea401854f532f57ca5ff66341700ec (patch) | |
tree | 3402fcd4c821583d3b6cf820596915a042600187 /src | |
parent | e5163f54d47c4f2c167eba5e40f8df62229e8ad5 (diff) |
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 <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
The log levels configuration is stored in category:level pairs, not
category=value. Fix the documentation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/log.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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() { |