LogbackLoggerConfigurator

play.api.libs.logback.LogbackLoggerConfigurator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

This is a convenience method that adds no extra properties.

This is a convenience method that adds no extra properties.

Attributes

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.

Value parameters

configuration

the application's configuration

env

the application environment

optionalProperties

any optional properties (you can use Map.empty otherwise)

Attributes

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.

Attributes

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.

Attributes

def loggerFactory: ILoggerFactory

Returns the logger factory for the configurator. Only safe to call after configuration.

Returns the logger factory for the configurator. Only safe to call after configuration.

Attributes

Returns

an instance of ILoggerFactory

def shutdown(): Unit

Shutdown the logger infrastructure.

Shutdown the logger infrastructure.

Attributes