IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 12:04:58 PM (20 years ago)
Author:
Paul Price
Message:

Fixing psTraceGetLevel to use same convention as for psTrace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psTrace.h

    r8627 r9540  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2006-08-26 04:34:28 $
     11 *  @version $Revision: 1.51 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-10-13 22:04:58 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8989);
    9090
     91/** Get the trace level
     92 *
     93 *  @return int:    Trace Level
     94 */
     95int psTraceGetLevel(
     96    const char *facil                  ///< facilty of interest
     97);
     98
    9199#else // DOXYGEN
    92100#ifdef __GNUC__
     
    112120);
    113121#endif // __GNUC__
     122
     123/** Get the trace level
     124 *
     125 *  @return int:    Trace Level
     126 */
     127int p_psTraceGetLevel(
     128    const char* file,                  ///< file name
     129    int lineno,                        ///< line number in file
     130    const char *func,                  ///< function name
     131    const char *facil                  ///< facilty of interest
     132);
     133
    114134#ifndef SWIG
    115135#define psTrace(facil, level, ...) p_psTrace(__FILE__,__LINE__,__func__,facil, level, __VA_ARGS__)
     136#define psTraceGetLevel(facil) p_psTraceGetLevel(__FILE__,__LINE__,__func__,facil)
    116137/** Sends a trace message. */
    117138void psTraceV(
     
    131152    const char *facil,                 ///< facilty of interest
    132153    int level                          ///< desired trace level
    133 );
    134 
    135 /** Get the trace level
    136  *
    137  *  @return int:    Trace Level
    138  */
    139 int psTraceGetLevel(
    140     const char *facil                  ///< facilty of interest
    141154);
    142155
Note: See TracChangeset for help on using the changeset viewer.