| java.lang.Object | |
| ↳ | com.tencent.tencentmap.mapsdk.maps.TencentDebugMap.LoggerOptions.Builder |
Known Direct Subclasses
|
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Builder() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TencentDebugMap.LoggerOptions | build() | ||||||||||
| TencentDebugMap.LoggerOptions.Builder |
enable(boolean enable)
是否打开底图引擎日志
| ||||||||||
| TencentDebugMap.LoggerOptions.Builder |
engineSizeTimeLimit(int sizeLimit, int timeLimit)
底图引擎日志存储大小和时间上限@return
| ||||||||||
| TencentDebugMap.LoggerOptions.Builder |
level(TencentDebugMap.LoggerOptions.Level level)
设置日志级别
| ||||||||||
| TencentDebugMap.LoggerOptions.Builder |
outHandler(Logger.Options.LogCallback handler)
设置日志输出回调(暂不支持)
| ||||||||||
| TencentDebugMap.LoggerOptions.Builder |
tags(String[] tags)
设置日志标签
| ||||||||||
| TencentDebugMap.LoggerOptions.Builder |
toConsole(boolean enable)
是否输出到控制台
| ||||||||||
| TencentDebugMap.LoggerOptions.Builder |
toFile(boolean enable)
是否输出到文件
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
底图引擎日志存储大小和时间上限@return
| sizeLimit | 日志存储大小上限(最小值20M),单位:MB |
|---|---|
| timeLimit | 日志存储时间上限(最小值1天),单位:天 |
设置日志级别
设置日志输出回调(暂不支持)