diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/log.cpp b/src/libcamera/log.cpp index 1c82dc68..fd1b5c39 100644 --- a/src/libcamera/log.cpp +++ b/src/libcamera/log.cpp @@ -84,10 +84,10 @@ static int log_severity_to_syslog(LogSeverity severity) static const char *log_severity_name(LogSeverity severity) { static const char *const names[] = { - " DBG", + "DEBUG", " INFO", " WARN", - " ERR", + "ERROR", "FATAL", }; @@ -198,7 +198,7 @@ void LogOutput::write(const LogMessage &msg) case LoggingTargetStream: case LoggingTargetFile: str = "[" + utils::time_point_to_string(msg.timestamp()) + "] [" - + std::to_string(Thread::currentId()) + "]" + + std::to_string(Thread::currentId()) + "] " + log_severity_name(msg.severity()) + " " + msg.category().name() + " " + msg.fileInfo() + " " + msg.msg(); |