Package com.linecorp.armeria.spring
Class ArmeriaSettings.AccessLog
java.lang.Object
com.linecorp.armeria.spring.ArmeriaSettings.AccessLog
- Enclosing class:
ArmeriaSettings
Configurations for the access log.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the access log format.getType()
Returns the access log type.void
Sets the access log format.void
Sets the access log type that is supposed to be one of"common"
,"combined"
,"disabled"
or"custom"
.
-
Constructor Details
-
AccessLog
public AccessLog()
-
-
Method Details
-
getType
Returns the access log type. -
setType
Sets the access log type that is supposed to be one of"common"
,"combined"
,"disabled"
or"custom"
. -
getFormat
Returns the access log format. Please note that this format is used only when the specifiedtype
is"custom"
. -
setFormat
Sets the access log format. Please note that this format is used only when the specifiedtype
is"custom"
.
-