public static class

TencentDebugMap.LoggerOptions.Builder

extends Object
java.lang.Object
   ↳ com.tencent.tencentmap.mapsdk.maps.TencentDebugMap.LoggerOptions.Builder
Known Direct Subclasses

Summary

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

Public Constructors

public Builder ()

Public Methods

public TencentDebugMap.LoggerOptions.Builder enable (boolean enable)

是否打开底图引擎日志

public TencentDebugMap.LoggerOptions.Builder engineSizeTimeLimit (int sizeLimit, int timeLimit)

底图引擎日志存储大小和时间上限@return

Parameters
sizeLimit 日志存储大小上限(最小值20M),单位:MB
timeLimit 日志存储时间上限(最小值1天),单位:天

public TencentDebugMap.LoggerOptions.Builder outHandler (Logger.Options.LogCallback handler)

设置日志输出回调(暂不支持)

public TencentDebugMap.LoggerOptions.Builder tags (String[] tags)

设置日志标签

public TencentDebugMap.LoggerOptions.Builder toConsole (boolean enable)

是否输出到控制台

public TencentDebugMap.LoggerOptions.Builder toFile (boolean enable)

是否输出到文件