Package

org.scalawag.timber.backend.dispatcher

configuration

Permalink

package configuration

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. configuration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class Configuration extends Product with Serializable

    Permalink

    Represents a dispatcher configuration graph.

    Represents a dispatcher configuration graph. To create a configuration, use the DSL to create a routing graph and then call one of the companion object's factory methods with the desired root vertex (or a Subgraph whose head is the desired root vertex).

    Example:

    import org.scalawag.timber.backend.dispatcher.configuration.Configuration
    import org.scalawag.timber.backend.dispatcher.configuration.dsl._
    import org.scalawag.timber.api.Level._
    
    Configuration( ( level >= INFO ) ~> stderr )

    Configuration instances are immutable. The routing graph created with the DSL may be amended after creating a Configuration based on it but the Configuration creates a snapshot of the graph at the time of its construction.

Value Members

  1. object Configuration extends Serializable

    Permalink
  2. val DefaultConfiguration: Configuration

    Permalink

    Defines the default dispatcher configuration used when no other configuration is specified.

    Defines the default dispatcher configuration used when no other configuration is specified. It's not really intended to be used normally. It writes to stderr and flushes entries immediately. It does all this so that you'll notice that you forgot to configure your dispatcher and do it.

  3. package debug

    Permalink
  4. package dsl

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped