Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::logging::system_logging_option_list Enumeration
C++
enum system_logging_option_list {
  SYSLOG_OPT_OPENAPPEND,
  SYSLOG_OPT_OPEN_BACKUP,
  SYSLOG_OPT_LOG_PROGRAM_NAME,
  SYSLOG_OPT_LOG_THREAD_ID,
  SYSLOG_OPT_LOG_SOURCE_FILE,
  SYSLOG_OPT_MAX
};
Members 
Description 
SYSLOG_OPT_OPENAPPEND 
the file, when opened, will be opened for append. 
SYSLOG_OPT_OPEN_BACKUP 
the file, if it exists, will be renamed automatically. 
SYSLOG_OPT_LOG_PROGRAM_NAME 
enable logging the program executable (probably the same for all messages, unless they are network
SYSLOG_OPT_LOG_THREAD_ID 
enables logging the unique process and thread ID. 
SYSLOG_OPT_LOG_SOURCE_FILE 
enable logging source file information. See DBG_PASS 
SYSLOG_OPT_MAX 
used for declaring a flagset to pass to setoptions. 

When setting options using SetSyslogOptions() these are the defines for the bits passed. 

SYSLOG_OPT_OPENAPPEND - the file, when opened, will be opened for append. 

SYSLOG_OPT_OPEN_BACKUP - the file, if it exists, will be renamed automatically. 

SYSLOG_OPT_LOG_PROGRAM_NAME - enable logging the program executable (probably the same for all messages, unless they are network

SYSLOG_OPT_LOG_THREAD_ID - enables logging the unique process and thread ID. 

SYSLOG_OPT_LOG_SOURCE_FILE - enable logging source file information. See DBG_PASS 

SYSLOG_OPT_MAX - used for declaring a flagset to pass to setoptions.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!