stumpless 2.2.0
载入中...
搜索中...
未找到
option.h 文件参考

Options that can be used to modify the behavior of Stumpless components. 更多...

浏览该文件的源代码.

宏定义

#define STUMPLESS_OPTION_PID   LOG_PID
 Option to include the PID in stumpless messages.
 
#define STUMPLESS_OPTION_CONS   LOG_CONS
 Option to log to system console if writing to the target stream fails.
 
#define STUMPLESS_OPTION_NDELAY   LOG_NDELAY
 Not currently supported.
 
#define STUMPLESS_OPTION_ODELAY   LOG_ODELAY
 Not currently supported.
 
#define STUMPLESS_OPTION_NOWAIT   LOG_NOWAIT
 No need to wait for the child processes that may have been created while logging the messages.
 
#define STUMPLESS_OPTION_PERROR   LOG_PERROR
 Log the message to the stderr as well as to the target
 
#define STUMPLESS_OPTION_NONE   0
 Empty option mask for explicit 'no option' use.
 

详细描述

Options that can be used to modify the behavior of Stumpless components.

宏定义说明

◆ STUMPLESS_OPTION_CONS

#define STUMPLESS_OPTION_CONS   LOG_CONS

Option to log to system console if writing to the target stream fails.

◆ STUMPLESS_OPTION_NDELAY

#define STUMPLESS_OPTION_NDELAY   LOG_NDELAY

Not currently supported.

◆ STUMPLESS_OPTION_NONE

#define STUMPLESS_OPTION_NONE   0

Empty option mask for explicit 'no option' use.

◆ STUMPLESS_OPTION_NOWAIT

#define STUMPLESS_OPTION_NOWAIT   LOG_NOWAIT

No need to wait for the child processes that may have been created while logging the messages.

(Stumpless does not spawn child processes because it slows down the process of logging, so essentially this option is always set)

◆ STUMPLESS_OPTION_ODELAY

#define STUMPLESS_OPTION_ODELAY   LOG_ODELAY

Not currently supported.

◆ STUMPLESS_OPTION_PERROR

#define STUMPLESS_OPTION_PERROR   LOG_PERROR

Log the message to the stderr as well as to the target

◆ STUMPLESS_OPTION_PID

#define STUMPLESS_OPTION_PID   LOG_PID

Option to include the PID in stumpless messages.