Changeset 4190 for trunk/psLib/src/sysUtils/psError.h
- Timestamp:
- Jun 9, 2005, 9:26:48 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psError.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psError.h
r4162 r4190 12 12 * @author Eric Van Alst, MHPCC 13 13 * 14 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-0 8 23:40:45$14 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-09 19:26:48 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 120 120 psErrorCode code, ///< Error class code 121 121 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 124 124 ); 125 125 … … 132 132 */ 133 133 void psWarning( 134 const char* fmt, 135 ... 134 const char* fmt, ///< printf-style format of header line 135 ... ///< any parameters required in fmt 136 136 ); 137 137 #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 */ 138 149 psErrorCode 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 142 153 psErrorCode code, ///< Error class code 143 154 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 146 157 ); 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 */ 147 166 void 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 153 172 ); 154 173
Note:
See TracChangeset
for help on using the changeset viewer.
