version 1.21, 2005/10/31 16:53:08
|
version 1.24, 2006/01/30 16:17:04
|
|
|
//%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. |
|
|
// 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 |
|
|
// 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: |