Contains composable traits that can be used to add many common level-specific log methods to your custom loggers.
Contains composable traits that can be used to add many common level-specific log methods to your custom loggers. They are inspired by various legacy logging technologies.
Each trait defines several methods for logging and level val that can be overridden to control the level at
which those methods log entries. See Logger for an example.
Another example that mixes in a ridiculous set of level methods:
import org.scalawag.timber.api import org.scalawag.timber.api.Dispatcher import org.scalawag.timber.api.level._ class Logger(override val attributes:Map[String,Any] = Map.empty, override val tags:Set[Tag] = Set.empty)(implicit dispatcher: Dispatcher) extends BaseLogger(attributes, tags)(dispatcher) with Emergency with Finest with Warning with Warn