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.
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.