LogUtils icon indicating copy to clipboard operation
LogUtils copied to clipboard

More convenient and easy to use android Log manager

Results 25 LogUtils issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/88812918/147192847-3e8656a4-a838-4ecb-a514-203c77de2573.png)

![image](https://user-images.githubusercontent.com/22017306/59558262-d8abc600-9020-11e9-9b36-585eb2742a7d.png) 下面是我调用的写入代码 ``` if (context != null) { String LOG_PATH = context.getFilesDir() + "/" + context.getPackageName() + "/logs/"; Logger.d("LOG_PATH", LOG_PATH); try { LogUtils.getLog2FileConfig() .configLog2FileEnable(true) .configLog2FilePath(LOG_PATH) .configLog2FileNameFormat("%d{yyyyMMdd}.txt") .configLogFileEngine(new LogFileEngineFactory(context)); } catch...

LogUtils.getLog2FileConfig().getLogFile() 调用了但是文件没有写入到手机也没有报错 ![image](https://user-images.githubusercontent.com/32710110/145547953-85e09dd8-a93d-4cc8-befa-4f776a33cafe.png) ![image](https://user-images.githubusercontent.com/32710110/145548040-0625d466-9cf0-4a88-8eea-1adaa19758bd.png)

bugly捕获到的异常 ![image](https://user-images.githubusercontent.com/27988380/145207814-c7717574-165b-47d5-a19d-ec2c46324371.png)

LogUtils.getLog2FileConfig().configLog2FilePath("/sdcard/logs"). configLog2FileEnable(true). configLogFileEngine(new LogFileEngineFactory(this)); Intent intent = new Intent(this, MainActivity.class); LogUtils.e(intent); 以上是我的代码,运行完之后再logcat正常输出了。去查看日志文件,文本文件为空,大概过了三分钟之后,日志文件里面才有这个数据

app一直打开 放置一宿 第二天手机开屏 直接打印日志 不会创建新一天的日志 会写入上一天的日志文件里

`getLiveData().observe(this, LogUtils::i);` `I/LogUtils➁: HomeActivity.lambda$ZlRGI14f8creQslT9v7s2qM_FSk(Unknown Source:0)`