Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Releases: kaneoriley/bunyan

0.5.1

18 Apr 07:15
Compare
Choose a tag to compare
  • Dependency updates
  • Remove log spew if XML configuration files don't exist
  • Only add generated files to variant specific source set

0.5.0

28 May 00:14
Compare
Choose a tag to compare
  • API Change: Split Lombok helper module into four separate dependencies to cater for cases where there may
    be a namespace clash (there's now -log4j, -log4j2, -slf4j and -xslf4j modules for @Log4j, @Log4j2, @Slf4J and @XSlf4j respectively)
  • API Change: Now requires adding bunyan-plugin to the classpath, and applying the plugin to the application
    or library module. The plugin generates a configuration class at compile time, removing all need for reflection,
    input streams, and excess memory usage. Initialisation time is now < 0ms with no overhead, you're welcome :)
  • API Change: Rename BunyanLogger to BunyanAppender and related fields similarly
  • API Change: Appenders can now be specified in the configuration xml, provided they have a zero argument constructor.
    Appenders which require more than that should be added in the attachBaseContext method of your application.
  • Feature: Add support for bunyan-overrides.xml to specify build/flavor specific tweaks to the configuration
  • Feature: Support for constructing a logger with a hardcoded name (to complete Lombok compatbility)
  • Feature/API Change: Now supports specifying basic log tag patterns per appender (TODO: Add to README)
  • Bugfix: Fix ASSERT level threshold parsing
  • Bugfix: Fix primitive array logging

0.4.0

25 Apr 04:41
Compare
Choose a tag to compare
  • Breaking API Change: Bunyan.Level is now an IntDef rather than an enum. This means any custom loggers will
    need to be updated for the new parameter type. Also, as the raw values are in reverse order now due to using the
    android.util.Log constants, any level < threshold or level > threshold parameters will need to switch
    comparators.
  • Fix log output when a single array is passed as an argument (previously, and in other libraries, it would only log
    the first entry due to the varargs method).
  • Simplify message formatter and reduce method count.
  • Add support for Log.ASSERT/log.wtf level

0.3.1

24 Apr 16:17
Compare
Choose a tag to compare
  • Avoid using ClassLoader.getResourceAsStream() except as a last resort

See http://blog.danlew.net/2013/08/20/joda_time_s_memory_issue_in_android/ for an explanation

(Incidentally, the library I made this to replace was using it so this is another nice improvement)

0.3.0

24 Apr 07:18
Compare
Choose a tag to compare
  • Move Crashlytics logger to seperate module
  • Simplify initialisation
  • Allow specifying class level logging threshold overrides
  • Move configuration to assets/bunyan.xml
  • Fixes for initialisation order

0.2.0

23 Apr 14:32
Compare
Choose a tag to compare
  • Initial release