IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 22, 2005, 11:52:49 AM (21 years ago)
Author:
desonia
Message:

* empty log message *

File:
1 edited

Legend:

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

    r3264 r3476  
    1212 *  @author Eric Van Alst, MHPCC
    1313 *
    14  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-02-17 19:26:24 $
     14 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-03-22 21:52:49 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    106106#endif
    107107
     108#ifdef DOXYGEN
    108109/** Reports an error message to the logging facility
    109110 *
     
    116117 *  @return psErrorCode    the given error code
    117118 */
    118 #ifdef DOXYGEN
    119119psErrorCode psError(
    120120    psErrorCode code,                  ///< Error class code
    121121    psBool new,                        ///< true if error originates at this location
     122    const char* fmt,
     123    ...
     124);
     125
     126/** Logs a warning message.
     127 *
     128 *  This procedure logs a message to the destination set by a prior
     129 *  call to psLogSetDestination(), This is equivalent to calling
     130 *  psLogMsg with a level of PS_LOG_WARN.
     131 *
     132 */
     133void psWarning(
    122134    const char* fmt,
    123135    ...
     
    133145    ...
    134146);
     147void p_psWarning(
     148    const char* file,
     149    int lineno,
     150    const char* func,
     151    const char* fmt,
     152    ...
     153);
     154
    135155
    136156#ifndef SWIG
    137157#define psError(code,new,...) p_psError(__FILE__,__LINE__,__func__,code,new,__VA_ARGS__)
     158#define psWarning(...) p_psWarning(__FILE__,__LINE__,__func__,__VA_ARGS__)
    138159#endif
    139160
Note: See TracChangeset for help on using the changeset viewer.