DefaultLoggerPolicy
@Deprecated
public interface LoggerPolicy
Modifier and Type | Method | Description |
---|---|---|
LogCategory |
getCategory(java.lang.String message) |
Deprecated.
Returns the default category for messages.
|
int |
getEntryId(LogLevel level,
java.lang.String message) |
Deprecated.
Returns the entry id for the specified level and string message.
|
LogLevel |
getLevel(java.lang.String message) |
Deprecated.
Returns the default log level for messages.
|
boolean |
overwriteNetworkProtocolProperties() |
Deprecated.
If true - the
Logger will replace such properties of Logger.getNetworkProtocol() such as
MessageServerProtocol.getClientHost() , MessageServerProtocol.getClientId() ,
MessageServerProtocol.getClientName() and MessageServerProtocol.getClientType()
with values of properties LogConfiguration.getApplicationHost()
LogConfiguration.getApplicationId() , LogConfiguration.getApplicationName()
and LogConfiguration.getApplicationType()
of the logger configuration Logger.getConfiguration() . |
int getEntryId(LogLevel level, java.lang.String message)
level
- the level specifiedmessage
- string messageLogCategory getCategory(java.lang.String message)
message
- The message for which the category is evaluatedLogLevel getLevel(java.lang.String message)
message
- The message for which the category is evaluatedboolean overwriteNetworkProtocolProperties()
Logger
will replace such properties of Logger.getNetworkProtocol()
such as
MessageServerProtocol.getClientHost()
, MessageServerProtocol.getClientId()
,
MessageServerProtocol.getClientName()
and MessageServerProtocol.getClientType()
with values of properties LogConfiguration.getApplicationHost()
LogConfiguration.getApplicationId()
, LogConfiguration.getApplicationName()
and LogConfiguration.getApplicationType()
of the logger configuration Logger.getConfiguration()
.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.