Changeset 3476 for trunk/psLib/src/sysUtils/psError.h
- Timestamp:
- Mar 22, 2005, 11:52:49 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psError.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psError.h
r3264 r3476 12 12 * @author Eric Van Alst, MHPCC 13 13 * 14 * @version $Revision: 1. 19$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-17 19:26:24$14 * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-03-22 21:52:49 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 106 106 #endif 107 107 108 #ifdef DOXYGEN 108 109 /** Reports an error message to the logging facility 109 110 * … … 116 117 * @return psErrorCode the given error code 117 118 */ 118 #ifdef DOXYGEN119 119 psErrorCode psError( 120 120 psErrorCode code, ///< Error class code 121 121 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 */ 133 void psWarning( 122 134 const char* fmt, 123 135 ... … … 133 145 ... 134 146 ); 147 void p_psWarning( 148 const char* file, 149 int lineno, 150 const char* func, 151 const char* fmt, 152 ... 153 ); 154 135 155 136 156 #ifndef SWIG 137 157 #define psError(code,new,...) p_psError(__FILE__,__LINE__,__func__,code,new,__VA_ARGS__) 158 #define psWarning(...) p_psWarning(__FILE__,__LINE__,__func__,__VA_ARGS__) 138 159 #endif 139 160
Note:
See TracChangeset
for help on using the changeset viewer.
