version 1.21, 2005/10/31 16:53:08
|
version 1.23, 2005/12/19 21:51:37
|
|
|
// 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) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
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 |
|
|
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. |
*/ | */ |
|
|
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. |
*/ | */ |
|
|
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); |
|
|
} | } |
</pre> | </pre> |
*/ | */ |
static bool wouldLog(Uint32 logLevel) |
static Boolean wouldLog(Uint32 logLevel) |
{ | { |
return _severityMask & logLevel; |
return (_severityMask & logLevel) != 0; |
} | } |
| |
private: | private: |