(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.21 and 1.24

version 1.21, 2005/10/31 16:53:08 version 1.24, 2006/01/30 16:17:04
Line 1 
Line 1 
 //%2005////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
Line 8 
Line 8 
 // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 // EMC Corporation; VERITAS Software Corporation; The Open Group. // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 30 
Line 32 
 // Author: Mike Brasher (mbrasher@bmc.com) // Author: Mike Brasher (mbrasher@bmc.com)
 // //
 // Modified By: Dave Rosckes (rosckes@us.ibm.com) // Modified By: Dave Rosckes (rosckes@us.ibm.com)
   //              David Dillard, Symantec Corp. (david_dillard@symantec.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 155 
Line 158 
         const Formatter::Arg& arg1,         const Formatter::Arg& arg1,
         const Formatter::Arg& arg2);         const Formatter::Arg& arg2);
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
   
     /** put_l - Puts a localized message to the defined log file     /** put_l - Puts a localized message to the defined log file
         @param logFileType - Type of log file (Trace, etc.)         @param logFileType - Type of log file (Trace, etc.)
         @param systemId  - ID of the system generating the log entry within         @param systemId  - ID of the system generating the log entry within
Line 236 
Line 237 
         const Formatter::Arg& arg1,         const Formatter::Arg& arg1,
         const Formatter::Arg& arg2);         const Formatter::Arg& arg2);
  
 #endif /* PEGASUS_USE_EXPERIMENTAL_INTERFACES */  
   
     /** Puts a message to the define log. Should only be used for trace type     /** Puts a message to the define log. Should only be used for trace type
         logs.         logs.
     */     */
Line 295 
Line 294 
         const Formatter::Arg& arg1,         const Formatter::Arg& arg1,
         const Formatter::Arg& arg2);         const Formatter::Arg& arg2);
  
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES  
   
     /** Puts a localized message to the log. Should only be used     /** Puts a localized message to the log. Should only be used
         for trace type logs.         for trace type logs.
     */     */
Line 359 
Line 356 
         const Formatter::Arg& arg1,         const Formatter::Arg& arg1,
         const Formatter::Arg& arg2);         const Formatter::Arg& arg2);
  
 #endif /* PEGASUS_USE_EXPERIMENTAL_INTERFACES */  
   
     /** setHomeDirectory     /** setHomeDirectory
     */     */
     static void setHomeDirectory(const String& homeDirectory);     static void setHomeDirectory(const String& homeDirectory);
Line 393 
Line 388 
         }         }
         </pre>         </pre>
     */     */
     static bool wouldLog(Uint32 logLevel)      static Boolean wouldLog(Uint32 logLevel)
     {     {
         return _severityMask & logLevel;          return (_severityMask & logLevel) != 0;
     }     }
  
 private: private:


Legend:
Removed from v.1.21  
changed lines
  Added in v.1.24

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2