Created
March 21, 2016 11:09
-
-
Save Komarev/3f0d86ae459b7852624a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass : BaseActivity() { | |
companion object { | |
val LOG = Logger.getLogger(MyClass::class.java.name) | |
} | |
fun foo() { | |
LOG.warn("Hello from MyClass") // works good | |
} | |
} | |
class MyClass2 : BaseActivity(), AnkoLogger { | |
fun foo() { | |
info("everything by plan") // works good | |
debug("oh my") // can't find this message in logcat | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment