|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoggerPolicy
Used for specifying non-configuration-related options of Logger.
Method Summary | |
---|---|
LogCategory |
getCategory(java.lang.String message)
Returns the default category for messages. |
int |
getEntryId(LogLevel level,
java.lang.String message)
Returns the entry id for the specified level and string message. |
LogLevel |
getLevel(java.lang.String message)
Returns the default log level for messages. |
boolean |
overwriteNetworkProtocolProperties()
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() . |
Method Detail |
---|
int getEntryId(LogLevel level, java.lang.String message)
level
- the level specifiedmessage
- string message
LogCategory getCategory(java.lang.String message)
message
- The message for which the category is evaluated
LogLevel getLevel(java.lang.String message)
message
- The message for which the category is evaluated
boolean 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()
.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |