- Upgrade to scala-js-java-logging 0.1.1
- No API change
- wvlet.log.Logger is now serializable. You can also serialize classes extending LogSupport.
- This is an upgrade only for Scala.js
- Add JSConsoleLogHandler for coluful logging in browser console.
- Add wvlet.log.setDefaultLogLevel(level) for setting a log level in js console.
- Using a custom build of scala-js-java-logging for fixing a problem: scala-js/scala-js-java-logging#12
- Support Scala.js
- The usage is same. Just add
wvlet.log.LogSupport
in your traits. - limitations
- LogLevelScanner, LogRotateHandler, AsyncHandler are avilable only for ScalaJVM
- Because reflection is missing in Scala.js, the logger name of complex traits may not be resolved properly. In this case, call
val logger = wvlet.log.Logger.of(name)
to use a proper logger name.
- The usage is same. Just add
- Add AsyncHandler for logging heavy log writing process in a background thread
- Add FileHandler
- Support Scala 2.12.0
- The first major release.
- Migrated from wvlet repository.
- 2016-09-13: Add Scala 2.12.0-M5 support
- Terminate log scanner thread automatically
- Suppress sbt and scalatest related stack trace messages
- Add Logger.scheduleLogLevelScan
- Improved test coverage of wvlet-log
- Avoid using auto-generated annonymous trait name for logger name of LogSupport trait
- Exclude $ from Scala object logger name
- Fix logger methods
- Add LogRotationHandler
- (since 0.1) Add various ANSI color logging LogFormatter
- Added wvlet-log, a handly logging library