Changeset 4181
- Timestamp:
- Jun 8, 2005, 8:12:56 PM (21 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
sys/psLogMsg.c (modified) (2 diffs)
-
sysUtils/psLogMsg.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psLogMsg.c
r4180 r4181 1 1 2 /** @file psLogMsg.c 2 3 * @brief Procedures for logging messages. … … 11 12 * @author GLG, MHPCC 12 13 * 13 * @version $Revision: 1.4 1$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06-09 06:12: 31$14 * @version $Revision: 1.42 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-09 06:12:56 $ 15 16 * 16 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii -
trunk/psLib/src/sysUtils/psLogMsg.h
r4162 r4181 9 9 * 10 10 * @author Robert Lupton, Princeton University 11 * @author G eorge Gusciora, MHPCC11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06-0 8 23:40:45$13 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-09 06:12:31 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 26 26 */ 27 27 28 /** This procedure sets the destination for future log messages. Currently 29 * the destination is specified by an integer which can have the following 30 * pre-defined values: PS_LOG_NONE, PS_LOG_TO_STDOUT, and PS_LOG_TO_STDERR. 31 * In future versions, this procedure will take a character string as an 32 * argument which can specify more general log destinations. 28 /** This procedure sets the destination for future log messages. 29 * This procedure will take a character string as an 30 * argument which can specify general log destinations. 33 31 * 34 32 * @return psS32 true if set successfully, otherwise false. … … 42 40 * "mylevel" is less than the current log level set by this procedure. 43 41 * Ie. higher values set by this procedure will cause more log messages to 44 * be displayed. 42 * be displayed. The old log level will be returned. 45 43 * 46 44 * @return psS32 old logging level … … 54 52 * (level), M (message), N (name), and T (time). The default is "THLNM". 55 53 * Deleting a letter from the string will cause the associated information 56 * to not be logged. 57 * 54 * to not be logged. This procedure does not alter the order in which 55 * the messages are displayed. 58 56 */ 59 57 void psLogSetFormat( … … 64 62 * call to psLogSetDestination(), if myLevel is less than the level 65 63 * specified by a prior call to psLogSetLevel(). The message is specified 66 * with a printf- stype string anarguments.64 * with a printf-type string and arguments. 67 65 * 68 66 */
Note:
See TracChangeset
for help on using the changeset viewer.
