Changeset 257 for trunk/archive/pslib/include/psLogMsg.h
- Timestamp:
- Mar 18, 2004, 9:37:58 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
r247 r257 7 7 */ 8 8 9 /** Functions **************************************************************/ 10 /** \addtogroup SystemGroup System Utilities 11 * \{ 12 */ 13 14 /// Sets the log destination 15 int psSetLogDestination(int dest); 16 17 /// Sets the log level 18 int psSetLogLevel(int level); 19 20 /// sets the log format 21 void psSetLogFormat(const char *fmt); 22 23 /// Logs a message 24 void psLogMsg(const char *name, int level, const char *fmt, ...); 25 26 /// Logs a message from varargs 27 void p_psVLogMsg(const char *name, int level, const char *fmt, va_list ap); 28 29 /* \} */ // End of SystemGroup Functions 30 9 31 enum { PS_LOG_ABORT = 0, PS_LOG_ERROR, PS_LOG_WARN, PS_LOG_INFO }; //!< Status codes for log messages 10 32 11 33 enum { PS_LOG_TO_STDERR, PS_LOG_TO_STDOUT }; //!< Destinations for log messages 12 34 13 int psSetLogDestination(int dest); //!< Sets the log destination14 int psSetLogLevel(int level); //!< Sets the log level15 void psSetLogFormat(const char *fmt); //!< sets the log format16 17 void psLogMsg(const char *name, int level, const char *fmt, ...); //!< Logs a message18 void p_psVLogMsg(const char *name, int level, const char *fmt, va_list ap); //!< Logs a message from varargs19 20 35 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
