(file) Return to Logger.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Logger.h between version 1.35 and 1.36

version 1.35, 2008/08/12 18:26:27 version 1.36, 2008/08/14 17:30:39
Line 148 
Line 148 
         @param systemId  - ID of the system generating the log entry within         @param systemId  - ID of the system generating the log entry within
         Pegasus. This is user defined but generally breaks down into major         Pegasus. This is user defined but generally breaks down into major
         Pegasus components.         Pegasus components.
         @param level logLevel of the log entry. To be used both t0          @param level logLevel of the log entry. To be used both to
         mark the log entry and tested against a mask to determine if log         mark the log entry and tested against a mask to determine if log
         entry should be written.         entry should be written.
         @param messageId Message ID of the format string to load from          @param msgParms MessageLoaderParms object containing the localizable
         the resource bundle.          message to log.
         @param formatString     Default format definition string. See the  
         Formatter for details.  This will be used as the default format string  
         in case the resource bundle cannot be found.  
         @param Arg0 - Arg 9 - Up to 9 arguments representing the variables  
         that go into the log entry.  
         <pre>  
         Logger::put(Logger::TRACE_LOG, System::CIMSERVER, Logger::WARNING,  
             "X=$0, Y=$1, Z=$2", 88,  "Hello World", 7.5);  
         </pre>  
     */  
     static void put_l(  
         LogFileType logFileType,  
         const String& systemId,  
         Uint32 logLevel,  
         const char* messageId,  
         const char* formatString,  
         const Formatter::Arg& arg0,  
         const Formatter::Arg& arg1,  
         const Formatter::Arg& arg2,  
         const Formatter::Arg& arg3,  
         const Formatter::Arg& arg4 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg5 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg6 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg7 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg8 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg9 = Formatter::DEFAULT_ARG);  
   
     /** Optimized zero-argument form of put_l().  
     */  
     static void put_l(  
         LogFileType logFileType,  
         const String& systemId,  
         Uint32 logLevel,  
         const char* messageId,  
         const char* formatString);  
   
     /** Optimized one-argument form of put_l().  
     */     */
     static void put_l(     static void put_l(
         LogFileType logFileType,         LogFileType logFileType,
         const String& systemId,         const String& systemId,
         Uint32 logLevel,         Uint32 logLevel,
         const char* messageId,          const MessageLoaderParms& msgParms);
         const char* formatString,  
         const Formatter::Arg& arg0);  
   
     /** Optimized two-argument form of put_l().  
     */  
     static void put_l(  
         LogFileType logFileType,  
         const String& systemId,  
         Uint32 logLevel,  
         const char* messageId,  
         const char* formatString,  
         const Formatter::Arg& arg0,  
         const Formatter::Arg& arg1);  
   
     /** Optimized three-argument form of put_l().  
     */  
     static void put_l(  
         LogFileType logFileType,  
         const String& systemId,  
         Uint32 logLevel,  
         const char* messageId,  
         const char* formatString,  
         const Formatter::Arg& arg0,  
         const Formatter::Arg& arg1,  
         const Formatter::Arg& arg2);  
  
     /** Puts a trace message into the specified log.     /** Puts a trace message into the specified log.
     */     */
Line 276 
Line 214 
         const String& systemId,         const String& systemId,
         const Uint32 logComponent,         const Uint32 logComponent,
         Uint32 logLevel,         Uint32 logLevel,
         const String& formatString,          const String& message);
         const char* messageId,  
         const Formatter::Arg& arg0 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg1 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg2 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg3 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg4 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg5 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg6 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg7 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg8 = Formatter::DEFAULT_ARG,  
         const Formatter::Arg& arg9 = Formatter::DEFAULT_ARG);  
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2