Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::logging::syslog_types Enumeration
C++
enum syslog_types {
  SYSLOG_NONE = -1,
  SYSLOG_UDP = 0,
  SYSLOG_FILE = 1,
  SYSLOG_FILENAME = 2,
  SYSLOG_SYSTEM = 3,
  SYSLOG_UDPBROADCAST = 4,
  SYSLOG_CALLBACK = 5,
  SYSLOG_AUTO_FILE = SYSLOG_FILE+100
};
Members 
Description 
SYSLOG_NONE = -1 
Set logging to off. 
SYSLOG_UDP = 0 
Send messages UDP localhost port 514. 127.0.0.1:514. 
SYSLOG_FILE = 1 
Set logging to output to a file. The file passed is a FILE*. This may be a FILE* like stdout, stderr, or some file the application opens. 
SYSLOG_FILENAME = 2 
Set logging to go to a file, pass the string text name of the file to open as the second parameter of SetSystemLog
SYSLOG_SYSTEM = 3 
Specify that logging should go to system (this actually means Windows system debugging channel. OutputDebugString() ). 
SYSLOG_UDPBROADCAST = 4 
Send logging messages on UDP full broadcast address port 514. 
SYSLOG_CALLBACK = 5 
Send Logging to a specified user callback to handle. This lets logging go anywhere else that's not already thought of. 
SYSLOG_AUTO_FILE = SYSLOG_FILE+100 
Send logging to a file. If the file is not open, open the file. If no logging happens, no log file is created. 

Parameters for SetSystemLog() to specify where the logging should go.

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!