IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2004, 2:06:06 PM (22 years ago)
Author:
desonia
Message:

another attempt to get astyle to get it right.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psLogMsg.h

    r1406 r1407  
     1
    12/** @file  psLogMsg.h
    23 *  @brief Procedures for logging messages.
     
    1112 *  @author George Gusciora, MHPCC
    1213 *
    13  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-08-06 22:34:05 $
     14 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-08-07 00:06:06 $
    1516 *
    1617 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1718 */
    1819#if !defined(PS_LOG_MSG_H)
    19 #define PS_LOG_MSG_H
    20 #include <stdarg.h>
     20#    define PS_LOG_MSG_H
     21#    include <stdarg.h>
    2122
    2223/** @addtogroup LogTrace
     
    2930/// In future versions, this procedure will take a character string as an
    3031/// argument which can specify more general log destinations.
    31 int psLogSetDestination(const char* dest   ///< Specifies where to send messages.
     32int psLogSetDestination(const char *dest        // /< Specifies where to send messages.
    3233                       );
    33 
    3434
    3535/// This procedure sets the message level for future log messages.  Subsequent
     
    3838/// Ie. higher values set by this procedure will cause more log messages to
    3939/// be displayed.
    40 int psLogSetLevel(int level          ///< Specifies the system log level
     40int psLogSetLevel(int level     // /< Specifies the system log level
    4141                 );
    42 
    4342
    4443/// This procedure sets the log format for future log messages.  The argument
     
    4746/// Deleting a letter from the string will cause the associated information
    4847/// to not be logged.
    49 void psLogSetFormat(const char *fmt ///< Specifies the system log format
     48void psLogSetFormat(const char *fmt     // /< Specifies the system log format
    5049                   );
    51 
    5250
    5351/// This procedure logs a message to the destination set by a prior
     
    5553/// specified by a prior call to psLogSetLevel().  The message is specified
    5654/// with a printf-stype string an arguments.
    57 void psLogMsg(const char *name,     ///< name of the log source
    58               int myLevel,          ///< severity level of this log message
    59               const char *fmt, ...  ///< printf-style format command
     55void psLogMsg(const char *name, // /< name of the log source
     56              int myLevel,      // /< severity level of this log message
     57              const char *fmt, ...      // /< printf-style format command
    6058             );
    61 
    6259
    6360/// This procedure is functionally equivalent to psLogMsg(), except that
    6461/// it takes a va_list as the message parameter, not a printf-style string.
    65 void psLogMsgV(const char *name, ///< name of the log source
    66                int myLevel,      ///< severity level of this log message
    67                const char *fmt,  ///< printf-style format command
    68                va_list ap        ///< varargs argument list
     62void psLogMsgV(const char *name,        // /< name of the log source
     63               int myLevel,     // /< severity level of this log message
     64               const char *fmt, // /< printf-style format command
     65               va_list ap       // /< varargs argument list
    6966              );
    7067
     
    7471    PS_LOG_ERROR,
    7572    PS_LOG_WARN,
    76     PS_LOG_INFO };
     73    PS_LOG_INFO
     74};
    7775
    7876///< Destinations for log messages
     
    8078    PS_LOG_NONE,
    8179    PS_LOG_TO_STDERR,
    82     PS_LOG_TO_STDOUT };
     80    PS_LOG_TO_STDOUT
     81};
    8382
    8483/// @}
Note: See TracChangeset for help on using the changeset viewer.