c

play.api.libs.logback

LogbackLoggerConfigurator

class LogbackLoggerConfigurator extends LoggerConfigurator

Source
LogbackLoggerConfigurator.scala
Linear Supertypes
LoggerConfigurator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogbackLoggerConfigurator
  2. LoggerConfigurator
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LogbackLoggerConfigurator()

Value Members

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. def shutdown(): Unit

    Shutdown the logger infrastructure.

    Shutdown the logger infrastructure.

    Definition Classes
    LoggerConfigurator