Changeset 4972 for trunk/psLib/src/sys/psTrace.h
- Timestamp:
- Sep 7, 2005, 2:27:50 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psTrace.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psTrace.h
r4951 r4972 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.3 7$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-09-0 7 00:15:48$11 * @version $Revision: 1.38 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-09-08 00:27:50 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 59 59 p_psComponent; 60 60 61 #ifdef DOXYGEN 62 /** This procedure sets the trace format for future trace messages. The argument 63 * must be a character string consistsing of the letters H (host), L 64 * (level), M (message), N (name), and T (time). The default is "THLNM". 65 * Deleting a letter from the string will cause the associated information 66 * to not be logged. This procedure does not alter the order in which 67 * the messages are displayed. 68 * 69 * @return bool: True if successful, otherwise false. 70 */ 71 bool psTraceSetFormat( 72 const char *format ///< Specifies the system trace format 73 ); 74 61 75 /** Sends a trace message. */ 62 #ifdef DOXYGEN63 76 void psTrace( 64 77 const char *facil, ///< facilty of interest … … 79 92 #ifndef SWIG 80 93 #define psTrace(facil, level, ...) p_psTrace(facil, level, __VA_ARGS__) 94 /** Sends a trace message. */ 95 void psTraceV( 96 const char *facil, ///< facilty of interest 97 int level, ///< desired trace level 98 const char *format, ///< printf-style format command 99 va_list ap ///< varargs argument list 100 ); 101 81 102 #endif /* SWIG */ 82 103
Note:
See TracChangeset
for help on using the changeset viewer.
