# Function: getLogManager

getLogManager(params?: GetLogManagerParams): LogManager

获取日志管理器对象

# 参数:

属性 类型
params? GetLogManagerParams

GetLogManagerParams

属性 类型 描述
level? 0 | 1 取值为0/1,取值为0表示是否会把 App、Page 的生命周期函数和 wx 命名空间下的函数调用写入日志,取值为1则不会。 默认值是 0

# 返回值:

LogManager