trait LoggerConfigurator extends AnyRef

Runs through underlying logger configuration.

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

Abstract Value Members

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

  2. abstract 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)

  3. abstract def configure(env: Environment): Unit

    This is a convenience method that adds no extra properties.

  4. abstract def init(rootPath: File, mode: Mode): Unit

    Initialize the Logger when there's no application ClassLoader available.

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

  6. abstract def shutdown(): Unit

    Shutdown the logger infrastructure.