public final class LoggingConfiguration extends Object
| Modifier and Type | Method and Description |
|---|---|
Level |
getLogLevel()
Get the log level
|
String |
getRemoteLoggingHost()
Get the name of the host where the log should be sent to
|
int |
getRemoteLoggingPort()
Get the port the remote log receiver is listening on
|
boolean |
isRemoteLoggingConfigured()
Check if the adapter should send its log messages to a remote receiver
|
static LoggingConfiguration |
parseFromProperties(Map<String,String> properties)
Create a new logging configuration from request properties
|
public boolean isRemoteLoggingConfigured()
true if the adapter should send its log messages to a remote log receiverpublic String getRemoteLoggingHost()
public int getRemoteLoggingPort()
public Level getLogLevel()
public static LoggingConfiguration parseFromProperties(Map<String,String> properties)
properties - request propertiesIllegalArgumentException - if any of the logging configuration parameters can't be parsedCopyright © 2019. All rights reserved.