@ConfigurationProperties(value="access-logger") public static class NettyHttpServerConfiguration.AccessLogger extends java.lang.Object
| Constructor and Description |
|---|
AccessLogger() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLogFormat()
Returns the log format to use.
|
java.lang.String |
getLoggerName()
The logger name to use.
|
boolean |
isEnabled()
Returns whether the access logger is enabled.
|
void |
setEnabled(boolean enabled)
Enables or Disables the access logger.
|
void |
setLogFormat(java.lang.String logFormat)
Sets the log format to use.
|
void |
setLoggerName(java.lang.String loggerName)
Sets the logger name to use.
|
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - The flag.public java.lang.String getLoggerName()
public void setLoggerName(java.lang.String loggerName)
loggerName - A logger name,public java.lang.String getLogFormat()
public void setLogFormat(java.lang.String logFormat)
logFormat - The log format.