Changeset 964 for trunk/psLib/src/sysUtils/psLogMsg.c
- Timestamp:
- Jun 9, 2004, 2:09:55 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psLogMsg.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psLogMsg.c
r889 r964 39 39 static int log_msg = 1; // Flag to include message info 40 40 /***************************************************************************** 41 ps SetLogLevel(): Set the current log level and return old level.41 psLogSetLevel(): Set the current log level and return old level. 42 42 Input: 43 43 level (int): the new log level. … … 47 47 The old log level. 48 48 *****************************************************************************/ 49 int ps SetLogLevel(int level)49 int psLogSetLevel(int level) 50 50 { 51 51 int oldLevel = logLevel; … … 63 63 64 64 /***************************************************************************** 65 ps SetLogDestination(): sets the destination where log messages will be65 psLogSetDestination(): sets the destination where log messages will be 66 66 sent to. 67 67 … … 73 73 An integer specifying the old log destination. 74 74 *****************************************************************************/ 75 int ps SetLogDestination(int dest)75 int psLogSetDestination(int dest) 76 76 { 77 77 int old = logDest; … … 95 95 96 96 /***************************************************************************** 97 ps SetLogFormat(): Set the format of psLogMsg output. More precisely,97 psLogSetFormat(): Set the format of psLogMsg output. More precisely, 98 98 provide a string consisting of the letters {H (host), L (level), M 99 99 (message), N (name), T (time)}. The default is "HLMNT". This string … … 109 109 NULL. 110 110 *****************************************************************************/ 111 void ps SetLogFormat(const char *fmt)111 void psLogSetFormat(const char *fmt) 112 112 { 113 113 int nlog_time = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
