SilcLogType
NAME
typedef enum { ... } SilcLogType;
DESCRIPTION
This is the main logging channel id. There are currently four known
logging channels (plus the debugging output channel), and they are
ordered by importance.
See the source code for SILC coding conventions about how to choose
the right output channel.
SOURCE
typedef enum {
/* Generic info channel file */
SILC_LOG_INFO,
/* This should be used for warnings and non critical failures */
SILC_LOG_WARNING,
/* Generic error and critical failure messages */
SILC_LOG_ERROR,
/* Fatal messages (usually situations that will lead to a program crash */
SILC_LOG_FATAL,
/* Total number logging channels */
SILC_LOG_MAX
} SilcLogType;
|