yumapro  20.10-14
YumaPro SDK
Logging Types

Contains the System log level enumeration. More...

Collaboration diagram for Logging Types:

Enumerations

enum  log_stream_t {
  LOG_STREAM_NONE,
  LOG_STREAM_STDOUT,
  LOG_STREAM_STDERR,
  LOG_STREAM_LOGFILE,
  LOG_STREAM_CAPFILE
}
 The output stream enumerations used in util/log.c. More...
 
enum  log_debug_t {
  LOG_DEBUG_NONE,
  LOG_DEBUG_OFF,
  LOG_DEBUG_WRITE,
  LOG_DEBUG_DEV0,
  LOG_DEBUG_ERROR,
  LOG_DEBUG_WARN,
  LOG_DEBUG_INFO,
  LOG_DEBUG_DEV1,
  LOG_DEBUG_DEBUG,
  LOG_DEBUG_DEBUG2,
  LOG_DEBUG_DEBUG3,
  LOG_DEBUG_DEBUG4
}
 The debug level enumerations used in util/log.c. More...
 
enum  log_debug_app_t { ,
  LOG_DEBUG_APP_YANGCLI,
  LOG_DEBUG_APP_YANGDUMP,
  LOG_DEBUG_APP_YANGDIFF,
  LOG_DEBUG_APP_NETCONFD
}
 syslog wants to know what app is logging ... More...
 

Detailed Description

Contains the System log level enumeration.

Many enumerations here control the logging configuration. The callback functions are used to allow file and GUI output.

Enumeration Type Documentation

◆ log_debug_app_t

syslog wants to know what app is logging ...

Enumerator
LOG_DEBUG_APP_YANGCLI 

app is yangcli

LOG_DEBUG_APP_YANGDUMP 

app is yangdump

LOG_DEBUG_APP_YANGDIFF 

app is yangdiff

LOG_DEBUG_APP_NETCONFD 

app is netconfd

◆ log_debug_t

The debug level enumerations used in util/log.c.

Enumerator
LOG_DEBUG_NONE 

value not set or error

LOG_DEBUG_OFF 

logging turned off

LOG_DEBUG_WRITE 

logging turned on

LOG_DEBUG_DEV0 

Special use developer debugging only.

LOG_DEBUG_ERROR 

fatal + internal errors only

LOG_DEBUG_WARN 

all errors + warnings

LOG_DEBUG_INFO 

all previous + user info trace

LOG_DEBUG_DEV1 

Special use developer debugging only.

LOG_DEBUG_DEBUG 

debug level 1

LOG_DEBUG_DEBUG2 

debug level 2

LOG_DEBUG_DEBUG3 

debug level 3

LOG_DEBUG_DEBUG4 

debug level 4

◆ log_stream_t

The output stream enumerations used in util/log.c.

Enumerator
LOG_STREAM_NONE 

value not set or error

LOG_STREAM_STDOUT 

Output destined for stdout.

LOG_STREAM_STDERR 

Output destined for stderr.

LOG_STREAM_LOGFILE 

Output destined for logfile.

LOG_STREAM_CAPFILE 

Output destined for capfile.