构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
Config |
build()
构建 Config 对象
|
Config.Builder |
debug(boolean debug)
调试启用/禁用 开关
|
Config.Builder |
log(boolean log)
日志开关
|
Config.Builder |
logLevel(int level)
设置日志级别
|
public Config.Builder debug(boolean debug)
debug
- true 调试打开;false 调试关闭public Config.Builder log(boolean log)
log
- true 日志打开;false 日志关闭public Config.Builder logLevel(int level)
level
- 如下值:Log.ASSERT
,Log#DEBUG,Log#ERROR,Log#INFOpublic Config build()