-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Android default logging has changed in 4.0.0 #327
Comments
pull up slf4j dependency to java shared module. Add a system property to allow native android logging: `kotlin-logging-to-android-native` Issue #327
* change android to depend on slf4j2 by default pull up slf4j dependency to java shared module. Add a system property to allow native android logging: `kotlin-logging-to-android-native` * pull up KLogger * add slf4j compile dependency. * add slf4j test dependency. * implement more methods. Issue #327
Releasing now 4.0.2 with a fix |
To the best of my knowledge the default in android is At the moment we will keep slf4j as the default, but I am still checking and in case it will be requested we might change the default in the future to native android logging. To use native logging set |
In kotiln-logging versions before 4.0.0 on Android slf4j was used for logging. This has been switched to
android.util.Log
.Regarding to the android documentation,
java.util.logging
is used for "non-system application". As far as I know SLF4J does use it internally.Maybe I missed something, but with
android.util.Log
there seems to be no reasonable configuration options for logging, which makes it unusable for us.The text was updated successfully, but these errors were encountered: