Changeset 602
- Timestamp:
- May 7, 2004, 11:31:16 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psLogMsg.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psLogMsg.h
r372 r602 15 15 16 16 /// Sets the log destination 17 int ps SetLogDestination(int dest);17 int psLogSetDestination(int dest); 18 18 19 19 /// Sets the log level 20 int ps SetLogLevel(int level);20 int psLogSetLevel(int level); 21 21 22 22 /// sets the log format 23 void ps SetLogFormat(const char *fmt);23 void psLogSetFormat(const char *fmt); 24 24 25 25 /// Logs a message … … 30 30 31 31 /// Logs a message from varargs 32 void p_ps VLogMsg(const char *name, ///< name of the log source32 void p_psLogVMsg(const char *name, ///< name of the log source 33 33 int myLevel, ///< severity level of this log message 34 34 const char *fmt, ///< printf-style format command … … 40 40 enum { PS_LOG_ABORT = 0, PS_LOG_ERROR, PS_LOG_WARN, PS_LOG_INFO }; ///< Status codes for log messages 41 41 42 enum { PS_LOG_NONE , PS_LOG_TO_STDERR, PS_LOG_TO_STDOUT}; ///< Destinations for log messages42 enum { PS_LOG_NONE = 0, PS_LOG_TO_STDERR = -1, PS_LOG_TO_STDOUT = -2 }; ///< Destinations for log messages 43 43 44 44 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
