Changeset 979 for trunk/psLib/src/sysUtils
- Timestamp:
- Jun 9, 2004, 4:42:06 PM (22 years ago)
- Location:
- trunk/psLib/src/sysUtils
- Files:
-
- 2 edited
-
psLogMsg.c (modified) (2 diffs)
-
psLogMsg.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psLogMsg.c
r964 r979 94 94 95 95 96 96 97 /***************************************************************************** 97 98 psLogSetFormat(): Set the format of psLogMsg output. More precisely, … … 162 163 163 164 165 164 166 #if !defined(HOST_NAME_MAX) // should be in limits.h 165 167 # define HOST_NAME_MAX 256 -
trunk/psLib/src/sysUtils/psLogMsg.h
r974 r979 16 16 /// the destination is specified by an integer which can have the following 17 17 /// pre-defined values: PS_LOG_NONE, PS_LOG_TO_STDOUT, and PS_LOG_TO_STDERR. 18 /// I Nfuture versions, this procedure will take a character string as an18 /// In future versions, this procedure will take a character string as an 19 19 /// argument which can specify more general log destinations. 20 20 int psLogSetDestination(int dest); 21 21 22 /// This procedure sets the global level for future log messages. Future23 /// log messages, each with a log level of mylevel, will only be logged if24 /// their mylevelis less than the current log level set by this procedure.22 /// This procedure sets the message level for future log messages. Subsequent 23 /// log messages, with a log level of "mylevel", will only be logged if 24 /// "mylevel" is less than the current log level set by this procedure. 25 25 /// Ie. higher values set by this procedure will cause more log messages to 26 26 /// be displayed. … … 47 47 48 48 /// This procedure is functionally equivalent to psLogMsg(), except that 49 /// it takes a va_list as the message param ater, not a printf-style string.49 /// it takes a va_list as the message parameter, not a printf-style string. 50 50 void psVLogMsg(const char *name, ///< name of the log source 51 51 int myLevel, ///< severity level of this log message
Note:
See TracChangeset
for help on using the changeset viewer.
