Changeset 196 for trunk/archive/pslib/include/psLogMsg.h
- Timestamp:
- Mar 9, 2004, 5:19:15 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psLogMsg.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psLogMsg.h
r181 r196 3 3 #include <stdarg.h> 4 4 5 enum { PS_LOG_ABORT = 0, PS_LOG_ERROR, PS_LOG_WARN, PS_LOG_INFO }; 5 enum { PS_LOG_ABORT = 0, PS_LOG_ERROR, PS_LOG_WARN, PS_LOG_INFO }; //!< Status codes for log messages 6 6 7 enum { PS_LOG_TO_STDERR, PS_LOG_TO_STDOUT }; 7 enum { PS_LOG_TO_STDERR, PS_LOG_TO_STDOUT }; //!< Destinations for log messages 8 8 9 int psSetLogDestination(int dest); 10 int psSetLogLevel(int level); 11 void psSetLogFormat(const char *fmt); 9 int psSetLogDestination(int dest); //!< Sets the log destination 10 int psSetLogLevel(int level); //!< Sets the log level 11 void psSetLogFormat(const char *fmt); //!< sets the log format 12 12 13 void psLogMsg(const char *name, int level, const char *fmt, ...); 14 void p_psVLogMsg(const char *name, int level, const char *fmt, va_list ap); 13 void psLogMsg(const char *name, int level, const char *fmt, ...); //!< Logs a message 14 void p_psVLogMsg(const char *name, int level, const char *fmt, va_list ap); //!< Logs a message from varargs 15 15 16 16 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
