KasperskyOS Community Edition 1.3
Contents
Contents
LogrrLogLevel enumerated type
The enumerated type LogrrLogLevel
contains fields whose names correspond to the log levels available in the LogRR
program.
The enumerated type LogrrLogLevel
is intended for use in C-language programs. In C++ programs, use the LogLevel
class.
LogrrLogLevel
enumerators can be passed to the ClogLog()
function to send a message with the specified log level.
A description of LogrrLogLevel
enumeration is provided in the file /opt/KasperskyOS-Community-Edition-<version>/sysroot-*-kos/include/component/logrr/core/log_level_c.h
.
component/logrr/core/log_level_c.h (fragment)
typedef enum LogrrLogLevel
{
LogrrLogLevel_Critical, /*!< Critical errors when process can't continue to work. */
LogrrLogLevel_Error, /*!< Some issues that allow to continue application execution. */
LogrrLogLevel_Warning, /*!< Some regular errors that application can handle. */
LogrrLogLevel_Info, /*!< Some useful information about application work/state. */
LogrrLogLevel_Debug, /*!< Detailed log to understand/fix some specific issues. */
LogrrLogLevel_Trace, /*!< To "trace" some function execution. May affect performance. */
} LogLevel;