Changeset 8226
- Timestamp:
- Aug 7, 2006, 3:53:31 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psError.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psError.c
r7300 r8226 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-0 6-02 21:33:34$12 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-08-08 01:53:31 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 23 23 #include "psError.h" 24 24 #include "psMemory.h" 25 #include "psString.h" 26 #include "psTrace.h" 25 27 26 28 #define MAX_ERROR_STACK_SIZE 64 … … 101 103 pushErrorStack(err); 102 104 103 // Call logging function with PS_LOG_ERROR level 104 psLogMsg(msgName, PS_LOG_ERROR, errMsg); 105 #ifndef PS_NO_TRACE 106 // Call tracing function with PS_LOG_ERROR level 107 psString facil = NULL; 108 psStringAppend(&facil, "err.%s", func); 109 psTrace(facil, PS_LOG_ERROR, "%s : %s", err->name, err->msg); 110 psFree(facil); 111 #endif 105 112 106 113 // Clean up stack after variable argument has been used
Note:
See TracChangeset
for help on using the changeset viewer.
