Changeset 2426 for trunk/psLib/src/sysUtils
- Timestamp:
- Nov 24, 2004, 10:12:28 AM (22 years ago)
- Location:
- trunk/psLib/src/sysUtils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psTrace.c
r2273 r2426 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.3 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-11- 04 01:05:00$11 * @version $Revision: 1.39 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-11-24 20:12:28 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 385 385 traceLevel = doGetTraceLevel(name); 386 386 } 387 388 // XXX: The default trace level is currently set at -1, which is not a 389 // valid trace level. This is convenient in determining whether or not 390 // a component should inherit the trace level from parent nodes. However, 391 // it's not clear that -1 should ever be returned by this function. 392 // The SDR is unclear on this point and we should probably request IfA 393 // comment. 394 if (traceLevel == PS_DEFAULT_TRACE_LEVEL) { 395 traceLevel = PS_THE_OTHER_DEFAULT_TRACE_LEVEL; 396 } 397 387 398 return(traceLevel); 388 399 } … … 454 465 } 455 466 456 doPrintTraceLevels(cRoot, 0, PS_ DEFAULT_TRACE_LEVEL);467 doPrintTraceLevels(cRoot, 0, PS_THE_OTHER_DEFAULT_TRACE_LEVEL); 457 468 } 458 469 -
trunk/psLib/src/sysUtils/psTrace.h
r2228 r2426 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-1 0-28 22:47:00$11 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-11-24 20:12:28 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 #define PS_UNKNOWN_TRACE_LEVEL -9999 // we don't know this name's level 20 20 #define PS_DEFAULT_TRACE_LEVEL -1 21 #define PS_THE_OTHER_DEFAULT_TRACE_LEVEL 0 21 22 22 23 /** \addtogroup LogTrace
Note:
See TracChangeset
for help on using the changeset viewer.
