Changeset 1013 for trunk/psLib/src/sys/psLogMsg.h
- Timestamp:
- Jun 11, 2004, 7:50:01 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psLogMsg.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psLogMsg.h
r979 r1013 1 /** @file psLogMsg.h 2 * @brief Procedures for logging messages. 3 * \ingroup LogTrace 4 * 5 * This file will hold the prototypes for defining procedure which set 6 * message log levels, messahe log formats, message log destinations, and 7 * for generating the messages themselves. 8 * @ingroup LogTrace 9 * 10 * @author Robert Lupton, Princeton University 11 * @author George Gusciora, MHPCC 12 * 13 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-06-12 05:50:01 $ 15 * 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 17 */ 1 18 #if !defined(PS_LOG_MSG_H) 2 19 #define PS_LOG_MSG_H 3 4 /** \file psLogMsg.h5 * \brief log messaging facilities6 * \ingroup LogTrace7 */8 9 20 #include <stdarg.h> 10 21 … … 18 29 /// In future versions, this procedure will take a character string as an 19 30 /// argument which can specify more general log destinations. 20 int psLogSetDestination(int dest); 31 int psLogSetDestination(int dest ///< Specifies where to send messages. 32 ); 33 21 34 22 35 /// This procedure sets the message level for future log messages. Subsequent … … 25 38 /// Ie. higher values set by this procedure will cause more log messages to 26 39 /// be displayed. 27 int psLogSetLevel(int level); 40 int psLogSetLevel(int level ///< Specifies the system log level 41 ); 42 28 43 29 44 /// This procedure sets the log format for future log messages. The argument … … 32 47 /// Deleting a letter from the string will cause the associated information 33 48 /// to not be logged. 34 void psLogSetFormat(const char *fmt); 49 void psLogSetFormat(const char *fmt ///< Specifies the system log format 50 ); 35 51 36 52 … … 41 57 void psLogMsg(const char *name, ///< name of the log source 42 58 int myLevel, ///< severity level of this log message 43 const char *fmt, ...) ///< printf-style format command 44 ; 45 59 const char *fmt, ... ///< printf-style format command 60 ); 46 61 47 62 … … 51 66 int myLevel, ///< severity level of this log message 52 67 const char *fmt, ///< printf-style format command 53 va_list ap) ///< varargs argument list 54 ; 55 68 va_list ap ///< varargs argument list 69 ); 56 70 57 71 ///< Status codes for log messages
Note:
See TracChangeset
for help on using the changeset viewer.
