(file) Return to Log.c CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

Diff for /pegasus/src/Executor/Log.c between version 1.1.4.3 and 1.1.4.4

version 1.1.4.3, 2007/04/23 20:29:15 version 1.1.4.4, 2007/05/14 18:34:56
Line 55 
Line 55 
  
 void Log(enum LogLevel type, const char *format, ...) void Log(enum LogLevel type, const char *format, ...)
 { {
       // These definitions are consistent with System::syslog in SystemPOSIX.cpp.
     static int _priorities[] =     static int _priorities[] =
     {     {
         LOG_ALERT, /* LL_FATAL, */          LOG_CRIT, /* LL_FATAL, */
         LOG_CRIT, /* LL_SEVERE */          LOG_ERR, /* LL_SEVERE */
         LOG_WARNING, /* LL_WARNING */         LOG_WARNING, /* LL_WARNING */
         LOG_NOTICE, /* LL_INFORMATION */          LOG_INFO, /* LL_INFORMATION */
         LOG_INFO, /* LL_TRACE */          LOG_DEBUG, /* LL_TRACE */
     };     };
   
     static const char* _prefix[] =     static const char* _prefix[] =
     {     {
         "FATAL",         "FATAL",
Line 71 
Line 73 
         "INFORMATION",         "INFORMATION",
         "TRACE"         "TRACE"
     };     };
   
     char prefixedFormat[EXECUTOR_BUFFER_SIZE];     char prefixedFormat[EXECUTOR_BUFFER_SIZE];
  
     /* Prefix the format with the log level. */     /* Prefix the format with the log level. */


Legend:
Removed from v.1.1.4.3  
changed lines
  Added in v.1.1.4.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2