Changeset 247 for trunk/archive/pslib/include/psTrace.h
- Timestamp:
- Mar 15, 2004, 3:20:03 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psTrace.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psTrace.h
r196 r247 2 2 #define PS_TRACE_H 1 3 3 4 /** \file psTrace.h 5 * \brief basic run-time trace facilities 6 * \ingroup SystemGroup 7 */ 8 4 9 //#define PS_NTRACE 1 //!< to turn off all tracing 10 5 11 #if defined(PS_NTRACE) 6 12 # define psTrace(facil, level, ...) /* do nothing */ … … 11 17 12 18 /** Send a trace message */ 13 void p_psTrace(const char *facil, int level, ...); 19 void p_psTrace(const char *facil, //!< facilty of interest 20 int level, //!< desired trace level 21 ... //!< trace message arguments 22 ); 14 23 15 24 /** Set trace level */ 16 25 int psSetTraceLevel(const char *facil, //!< facilty of interest 17 26 int level //!< desired trace level 18 );27 ); 19 28 20 29 /** Get the trace level */ 21 30 int psGetTraceLevel(const char *name //!< facilty of interest 22 );31 ); 23 32 24 33 /** turn off all tracing, and free trace's allocated memory */
Note:
See TracChangeset
for help on using the changeset viewer.
