实时日志没有产生?

发布于 7 年前作者 leiluo9009 次浏览最后编辑 7 年前来自 ask

小程序提供的log功能,没有任何日志产生,查询界面都为空

下载的案例运行后,也没有日志产生

一天前的日志也没有,这个日志应该是实时的吧

请帮忙看下,现在查错非常不方便,谢谢

appid : wx651541843f83ddac

2 回复
li74
li741 楼6 年前

麻烦提供能复现问题的代码片段,看下你是怎么写的https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

fanxiulan
fanxiulan2 楼5 年前

let log wxgetRealtimeLogManager wxgetRealtimeLogManager()null


classLog

static debug()

if(!logreturn

loginfoapplylog arguments

static info()

if(!logreturn

loginfoapplylog arguments

static warn()

if(!logreturn

logwarnapplylog arguments

static error()

if(!logreturn

logerrorapplylog arguments

static setFilterMsgmsg// 从基础库2.7.3开始支持

if(!log ||logsetFilterMsgreturn

iftypeof msg !=='string'return

logsetFilterMsgmsg

static addFilterMsgmsg// 从基础库2.8.1开始支持

if(!log ||logaddFilterMsgreturn

iftypeof msg !=='string'return

logaddFilterMsgmsg