Skip to content

Releases: MFlisar/Lumberjack

5.3.0

20 Dec 11:25
Compare
Choose a tag to compare

Added log functions with manual levels:

  • fun log(priority: Int, t: Throwable, message: () -> String)
  • fun log(priority: Int, t: Throwable)
  • fun log(priority: Int, message: () -> String)

Very useful if you want to forward logs from another library inside a custom logger... e.g. like following:

// definition looks like following:
// var logger: ((level: Int, info: String, e: Exception?) -> Unit)? = null
MaterialDialog.logger = { level, info, exception ->
  if (exception != null) {
    L.tag("DIALOG-LOGS").log(level, exception) { info }
  } else {
    L.tag("DIALOG-LOGS").log(level) { info }
  }
}

Full Changelog: 5.2.9...5.3.0

5.2.9

18 Dec 10:51
Compare
Choose a tag to compare

Viewer shows info logs in a readable color if a dark theme is used

Full Changelog: 5.2.8...5.2.9

5.2.8

07 Dec 11:45
Compare
Choose a tag to compare
  • Viewer supports to provide a custom theme now (provide one without a toolbar!)
  • console tree does not replace all brackets anymore, enable this manually if needed
  • viewer does use the default primary toolbar style now

Full Changelog: 5.2.7...5.2.8

5.2.7

19 Oct 13:44
Compare
Choose a tag to compare

added callstack correction again

5.2.6

19 Oct 13:13
Compare
Choose a tag to compare

Main changes

  • notification module supports android 32+ (solves #14)
  • main log functions are NOT inlined anymore - otherwise its not possible to provide correct line numbers in kotlin => lambdas are stil evaluated lazily of course
  • line numbers are working again correctly

Other changes

  • removed call stack correction
  • remove java module, simple added @JvmStatic to all functions in L class

Full Changelog: 5.2.5...5.2.6

5.2.5

11 Jan 10:01
Compare
Choose a tag to compare

ConsoleTree - by default replaces brackets of logs if appendClickableLink is true to make sure that appended links are clickable
This option is enabled by default but can be disabled again if desired

https://github.com/MFlisar/Lumberjack/blob/f572cb1a22adba70959f7151fadc1c685eb53859/library/src/main/java/timber/log/ConsoleTree.kt#L11-L14

5.2.4

28 Dec 10:06
Compare
Choose a tag to compare
fixed java wrapper

5.2.3

28 Dec 10:01
Compare
Choose a tag to compare

Extended the IFormatter interface further to allow even more customisation

5.2.2

28 Dec 09:29
Compare
Choose a tag to compare
  • added IFilter + IFormatter interface
  • added a public default formatter implementation (open for extension)

Check out following classes:

5.2.1

17 Dec 10:56
Compare
Choose a tag to compare
added ability to apply a custom formatter to the class name logging