Changeset 4610 for trunk/psLib/src/sys/psTrace.h
- Timestamp:
- Jul 25, 2005, 2:44:45 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psTrace.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psTrace.h
r4409 r4610 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 6-28 20:17:52$11 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-07-26 00:44:44 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 51 51 typedef struct p_psComponent 52 52 { 53 const char *name; //last part of name of component54 psS32 level; //trace level for this component55 bool p_psSpecified; 56 psS32 n; //number of subcomponents57 struct p_psComponent* *subcomp; //next level of subcomponents53 const char *name; ///< last part of name of component 54 psS32 level; ///< trace level for this component 55 bool p_psSpecified; ///< whether the component is specified 56 psS32 n; ///< number of subcomponents 57 struct p_psComponent* *subcomp; ///< next level of subcomponents 58 58 } 59 59 p_psComponent; 60 60 61 /** Sends a trace message. */ 61 62 #ifdef DOXYGEN 62 63 void psTrace( … … 80 81 #endif /* DOXYGEN */ 81 82 82 /// Set trace level 83 /** Set trace level 84 * 85 * @return psBool: True if successful, otherwise false 86 */ 83 87 psBool psTraceSetLevel( 84 88 const char *facil, ///< facilty of interest … … 86 90 ); 87 91 88 /// Get the trace level 92 /** Get the trace level 93 * 94 * @return int: Trace Level 95 */ 89 96 int psTraceGetLevel( 90 97 const char *facil ///< facilty of interest … … 99 106 /// Set the destination of future trace messages. 100 107 void psTraceSetDestination( 101 FILE * fp ///< 108 FILE * fp ///< Pointer to file 102 109 ); 103 110 104 /// Get the current destination for trace messages. 111 /** Get the current destination for trace messages. 112 * 113 * @return FILE*: File Destination 114 */ 105 115 FILE *psTraceGetDestination(void); 106 116
Note:
See TracChangeset
for help on using the changeset viewer.
