We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The problem of design thinking!
Logger.json() -> LoggerPrinter.json() (json format in here, Time-consuming) -> LoggerPrinter.d() -> LoggerPrinter.log()
Action code:
for (LogAdapter adapter : logAdapters) { if (adapter.isLoggable(priority, tag)) { adapter.log(priority, tag, message); } }
Why is this design problematic?
Because many users actually do this:
Logger.addLogAdapter(object : AndroidLogAdapter(formatStrategy) { override fun isLoggable(priority: Int, tag: String?): Boolean { return BuildConfig.DEBUG } })
And that's where the problem lies
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The problem of design thinking!
Logger.json() -> LoggerPrinter.json() (json format in here, Time-consuming) -> LoggerPrinter.d() -> LoggerPrinter.log()
Action code:
Why is this design problematic?
Because many users actually do this:
And that's where the problem lies
The text was updated successfully, but these errors were encountered: