IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 602


Ignore:
Timestamp:
May 7, 2004, 11:31:16 AM (22 years ago)
Author:
Paul Price
Message:

Renamed several of the logging functions to conform to the
psTypeAction standard naming system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psLogMsg.h

    r372 r602  
    1515
    1616/// Sets the log destination
    17 int psSetLogDestination(int dest);     
     17int psLogSetDestination(int dest);     
    1818
    1919/// Sets the log level
    20 int psSetLogLevel(int level);           
     20int psLogSetLevel(int level);           
    2121
    2222/// sets the log format
    23 void psSetLogFormat(const char *fmt);   
     23void psLogSetFormat(const char *fmt);   
    2424
    2525/// Logs a message
     
    3030
    3131/// Logs a message from varargs
    32 void p_psVLogMsg(const char *name,      ///< name of the log source
     32void p_psLogVMsg(const char *name,      ///< name of the log source
    3333                 int myLevel,           ///< severity level of this log message
    3434                 const char *fmt,       ///< printf-style format command
     
    4040enum { PS_LOG_ABORT = 0, PS_LOG_ERROR, PS_LOG_WARN, PS_LOG_INFO }; ///< Status codes for log messages
    4141
    42 enum { PS_LOG_NONE, PS_LOG_TO_STDERR, PS_LOG_TO_STDOUT }; ///< Destinations for log messages
     42enum { PS_LOG_NONE = 0, PS_LOG_TO_STDERR = -1, PS_LOG_TO_STDOUT = -2 }; ///< Destinations for log messages
    4343
    4444#endif
Note: See TracChangeset for help on using the changeset viewer.