IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2005, 9:26:48 AM (21 years ago)
Author:
drobbin
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psError.h

    r4162 r4190  
    1212 *  @author Eric Van Alst, MHPCC
    1313 *
    14  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-06-08 23:40:45 $
     14 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-06-09 19:26:48 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    120120    psErrorCode code,                  ///< Error class code
    121121    psBool new,                        ///< true if error originates at this location
    122     const char* fmt,
    123     ...
     122    const char* fmt,                   ///< printf-style format of header line
     123    ...                                ///< any parameters required in fmt
    124124);
    125125
     
    132132 */
    133133void psWarning(
    134     const char* fmt,
    135     ...
     134    const char* fmt,                   ///< printf-style format of header line
     135    ...                                ///< any parameters required in fmt
    136136);
    137137#else // #ifdef DOXYGEN
     138
     139/** Reports an error message to the logging facility
     140 * 
     141 *  This function will invoke the psLogMsg function with a level of
     142 *  PS_LOG_ERROR and pass the parameters name and fmt to generate a proper
     143 *  log message.  This function is used to check a specific code location.
     144 * 
     145 *  This function modifies the error stack.
     146 *
     147 *  @return psErrorcode    the given error code
     148 */
    138149psErrorCode p_psError(
    139     const char* file,
    140     int lineno,
    141     const char* func,
     150    const char* file,                  ///< file name
     151    int lineno,                        ///< line number in file
     152    const char* func,                  ///< function name
    142153    psErrorCode code,                  ///< Error class code
    143154    psBool new,                        ///< true if error originates at this location
    144     const char* fmt,
    145     ...
     155    const char* fmt,                   ///< printf-style format of header line
     156    ...                                ///< any parameters required in fmt
    146157);
     158
     159/** Logs a warning message.
     160 * 
     161 *  This procedure logs a message to the destination set by a prior call to
     162 *  psLogSetDestination().  This is equivalent to calling psLogMsg with a level of
     163 *  PS_LOG_WARN.  This function is used to check a specific code location.
     164 * 
     165*/
    147166void p_psWarning(
    148     const char* file,
    149     int lineno,
    150     const char* func,
    151     const char* fmt,
    152     ...
     167    const char* file,                  ///< file name
     168    int lineno,                        ///< line number in file
     169    const char* func,                  ///< function name
     170    const char* fmt,                   ///< printf-style format of header line
     171    ...                                ///< any parameters required in fmt
    153172);
    154173
Note: See TracChangeset for help on using the changeset viewer.