KasperskyOS Community Edition 1.3
Contents
Contents
LogLevel class
The LogLevel
class is an enumeration (enum class
) and contains fields whose names correspond to the log levels available in the LogRR
program.
The LogLevel
class is intended for use in C++ programs. In C-language programs, use the enumerated type LogrrLogLevel
.
Values of LogLevel
enumeration can be passed to the following:
- Static method
Log()
of theLogger
class - Static methods
ChangeLogLevel()
andChangeGlobalLogLevel()
of theController
structure LogIface
class constructor
A description of the LogLevel
class is provided in the file /opt/KasperskyOS-Community-Edition-<version>/sysroot-*-kos/include/component/logrr/core/log_level.h
.
component/logrr/core/log_level.h (fragment)
enum class LogLevel : int8_t
{
Critical = 0,
Error,
Warning,
Info,
Debug,
Trace
};