class LogbackLoggerConfigurator extends LoggerConfigurator
- Source
- LogbackLoggerConfigurator.scala
- Alphabetic
- By Inheritance
- LogbackLoggerConfigurator
- LoggerConfigurator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LogbackLoggerConfigurator()
Value Members
- def configure(properties: Map[String, String], config: Option[URL]): Unit
Configures the logger with a list of properties and an optional URL.
Configures the logger with a list of properties and an optional URL.
This is the engine's entrypoint method that has all the properties pre-assembled.
- Definition Classes
- → LoggerConfigurator
- def configure(env: Environment, configuration: Configuration, optionalProperties: Map[String, String]): Unit
Configures the logger with the environment and the application configuration.
Configures the logger with the environment and the application configuration.
This is what full applications will run, and the place to put extra properties, either through optionalProperties or by setting configuration properties and having "play.logger.includeConfigProperties=true" in the config.
- env
the application environment
- configuration
the application's configuration
- optionalProperties
any optional properties (you can use Map.empty otherwise)
- Definition Classes
- → LoggerConfigurator
- def configure(env: Environment): Unit
This is a convenience method that adds no extra properties.
This is a convenience method that adds no extra properties.
- Definition Classes
- → LoggerConfigurator
- def init(rootPath: File, mode: Mode): Unit
Initialize the Logger when there's no application ClassLoader available.
Initialize the Logger when there's no application ClassLoader available.
- Definition Classes
- → LoggerConfigurator
- def loggerFactory: ILoggerFactory
Returns the logger factory for the configurator.
Returns the logger factory for the configurator. Only safe to call after configuration.
- returns
an instance of ILoggerFactory
- Definition Classes
- → LoggerConfigurator
- def shutdown(): Unit
Shutdown the logger infrastructure.
Shutdown the logger infrastructure.
- Definition Classes
- → LoggerConfigurator