Last active
December 20, 2021 08:07
-
-
Save MFlisar/a40dac3974dfcf846c0a8379ee6ce368 to your computer and use it in GitHub Desktop.
Lumberjack - Log Example
This file contains hidden or 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
[MainActivity:2 onCreate]: This is my first log entry (MainActivity.kt:2) | |
[MainActivity:3 onCreate]: This is my second log entry - it will be logged because logIf evaluates to true (MainActivity.kt:3) | |
[MainActivity:5 onCreate]: Log line 3 will not slow down this code because the function inside the log will never be called because the logIf evaluates to false (MainActivity.kt:5) | |
[<TAG1> MainActivity:8 onCreate]: Log with tag (MainActivity.kt:8) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment