swu_log_level_t

Severity levels for messages logged with swu_logging_callback_t function

Synopsis:

#include <swu/Common.h>
 
typedef enum swu_log_level {
      SWU_LOG_SHUTDOWN,   
      SWU_LOG_CRITICAL,   
      SWU_LOG_ERROR,   
      SWU_LOG_WARNING,   
      SWU_LOG_NOTICE,   
      SWU_LOG_INFO   
} swu_log_level_t;

Data:

SWU_LOG_SHUTDOWN
A critical error has occurred and the system must be shut down. This value is currently unused.
SWU_LOG_CRITICAL
A critical error has occured and the library must be shut down. This value is currently unused.
SWU_LOG_ERROR
A serious error has occurred, preventing the library from completing the update process.
SWU_LOG_WARNING
An issue has been found by the library but it can continue with the update process.
SWU_LOG_NOTICE
The library is reporting a significant event related to the update process.
SWU_LOG_INFO
The library is reporting information on the update process.

Library:

libswu-core

Use the -l swu-core option with qcc to link against the SWU library. This library is usually included automatically.

Description:

The swu_log_level_t enumeration specifies the possible severity levels for messages logged with the swu_logging_callback_t function.