izumi.logstage.api.routing

Members list

Type members

Classlikes

final class AdaptiveLogConfigServiceImpl(loggerConfig: LoggerConfig, sinksRoutes: Map[String, Seq[LogSink]]) extends LogConfigServiceImpl

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ConfigurableLogRouter(logConfigService: LogConfigService, buffer: LogQueue) extends LogRouter

Attributes

Companion
object
Supertypes
trait LogRouter
trait AutoCloseable
class Object
trait Matchable
class Any
class LogConfigServiceImpl(loggerConfig: LoggerConfig) extends LogConfigService

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class StaticLogRouter extends LogRouter

When not configured, logstage-adapter-slf4j will log messages with level >= Info to stdout.

When not configured, logstage-adapter-slf4j will log messages with level >= Info to stdout.

Due to the global mutable nature of slf4j to configure slf4j logging you'll have to mutate a global singleton. To change its settings, replace its LogRouter with the same one you use elsewhere in your application.

 import logstage._
 import izumi.logstage.api.routing.StaticLogRouter

 val myLogger = IzLogger()

 // configure SLF4j to use the same router that `myLogger` uses
 StaticLogRouter.instance.setup(myLogger.router)

Attributes

Companion
object
Supertypes
trait LogRouter
trait AutoCloseable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type