Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogHelper |
build() |
LogHelper.Builder |
setAppendTemplateInfo(boolean value)
If true, a template name and helper line will be appended to each log
message.
|
LogHelper.Builder |
setDefaultLevel(LogHelper.Level level)
If not set,
LogHelper.Level.INFO is used. |
LogHelper.Builder |
setLoggerAdapter(LogHelper.LoggerAdapter adapter)
If not set, a default adapter is used.
|
public LogHelper.Builder setDefaultLevel(LogHelper.Level level)
LogHelper.Level.INFO
is used.level
- public LogHelper.Builder setLoggerAdapter(LogHelper.LoggerAdapter adapter)
adapter
- public LogHelper.Builder setAppendTemplateInfo(boolean value)
value
- public LogHelper build()
Copyright © 2017. All rights reserved.