Package

org.scalawag.timber.api

level

Permalink

package level

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
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. level
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait Alert extends AnyRef

    Permalink

    Mixes in alert methods to a BaseLogger.

  2. trait Config extends AnyRef

    Permalink

    Mixes in config methods to a BaseLogger.

  3. trait Critical extends AnyRef

    Permalink

    Mixes in critical methods to a BaseLogger.

  4. trait Debug extends AnyRef

    Permalink

    Mixes in debug methods to a BaseLogger.

  5. trait Emergency extends AnyRef

    Permalink

    Mixes in emergency methods to a BaseLogger.

  6. trait Error extends AnyRef

    Permalink

    Mixes in error methods to a BaseLogger.

  7. trait Fatal extends AnyRef

    Permalink

    Mixes in fatal methods to a BaseLogger.

  8. trait Fine extends AnyRef

    Permalink

    Mixes in fine methods to a BaseLogger.

  9. trait Finer extends AnyRef

    Permalink

    Mixes in finer methods to a BaseLogger.

  10. trait Finest extends AnyRef

    Permalink

    Mixes in finest methods to a BaseLogger.

  11. trait Info extends AnyRef

    Permalink

    Mixes in info methods to a BaseLogger.

  12. trait Notice extends AnyRef

    Permalink

    Mixes in notice methods to a BaseLogger.

  13. trait Severe extends AnyRef

    Permalink

    Mixes in severe methods to a BaseLogger.

  14. trait Trace extends AnyRef

    Permalink

    Mixes in trace methods to a BaseLogger.

  15. trait Warn extends AnyRef

    Permalink

    Mixes in warn methods to a BaseLogger.

  16. trait Warning extends AnyRef

    Permalink

    Mixes in warning methods to a BaseLogger.

Inherited from AnyRef

Inherited from Any

Ungrouped