public class LogTargetConfiguration extends Object implements Serializable
The target configuration.
| Constructor and Description |
|---|
LogTargetConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLogLevel()
The logging level.
|
LogTarget |
getLogTarget()
A log target
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
The logging level.
|
void |
setLogLevel(String logLevel)
The logging level.
|
void |
setLogTarget(LogTarget logTarget)
A log target
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LogTargetConfiguration |
withLogLevel(LogLevel logLevel)
The logging level.
|
LogTargetConfiguration |
withLogLevel(String logLevel)
The logging level.
|
LogTargetConfiguration |
withLogTarget(LogTarget logTarget)
A log target
|
public LogTarget getLogTarget()
A log target
A log target
public void setLogTarget(LogTarget logTarget)
A log target
logTarget - A log target
public LogTargetConfiguration withLogTarget(LogTarget logTarget)
A log target
Returns a reference to this object so that method calls can be chained together.
logTarget - A log target
public String getLogLevel()
The logging level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
The logging level.
LogLevelpublic void setLogLevel(String logLevel)
The logging level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.
LogLevelpublic LogTargetConfiguration withLogLevel(String logLevel)
The logging level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.
LogLevelpublic void setLogLevel(LogLevel logLevel)
The logging level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.
LogLevelpublic LogTargetConfiguration withLogLevel(LogLevel logLevel)
The logging level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel - The logging level.
LogLevelpublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.