IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 7, 2005, 2:27:50 PM (21 years ago)
Author:
drobbin
Message:

Added psTraceSetFormat as outlined from SDRS 15

File:
1 edited

Legend:

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

    r4951 r4972  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-09-07 00:15:48 $
     11 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-09-08 00:27:50 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5959p_psComponent;
    6060
     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 */
     71bool psTraceSetFormat(
     72    const char *format                 ///< Specifies the system trace format
     73);
     74
    6175/** Sends a trace message. */
    62 #ifdef DOXYGEN
    6376void psTrace(
    6477    const char *facil,                 ///< facilty of interest
     
    7992#ifndef SWIG
    8093#define psTrace(facil, level, ...) p_psTrace(facil, level, __VA_ARGS__)
     94/** Sends a trace message. */
     95void 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
    81102#endif /* SWIG */
    82103
Note: See TracChangeset for help on using the changeset viewer.