Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何设置日志保存的文件为不加密? #1

Open
luomaa opened this issue Aug 6, 2021 · 1 comment
Open

如何设置日志保存的文件为不加密? #1

luomaa opened this issue Aug 6, 2021 · 1 comment

Comments

@luomaa
Copy link

luomaa commented Aug 6, 2021

并不是所有的日志都需要加密,如何设置不加密?

@luomaa
Copy link
Author

luomaa commented Aug 7, 2021

XLogHelper.create(this)
.setModel(LogModel.Async)
.setTag("TAG")
.setDebug(true)
.setConsoleLogOpen(true)
.setLogLevel(LogLevel.LEVEL_INFO)
.setNamePreFix("logLY")
.setPubKey("a112233445566")
.setMaxFileSize(1f)
.setOneFileEveryday(true)
.setCacheDays(0)
.setMaxAliveTime(2)
.init()

比如安卓代码生成日志这样设置pubkey,那么解密时decode_mars_crypt_log_file.py 中的PRIV_KEY = ?
PUB_KEY = ?可以说明下解密不?您说的解密没完全明白弄不对,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant