trait LoggerConfigurator extends AnyRef
Runs through underlying logger configuration.
- Source
- LoggerConfigurator.scala
- Alphabetic
- By Inheritance
- LoggerConfigurator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- 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.
- 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)
- abstract def configure(env: Environment): Unit
This is a convenience method that adds no extra properties.
- abstract def init(rootPath: File, mode: Mode): Unit
Initialize the Logger when there's no application ClassLoader available.
- 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
- abstract def shutdown(): Unit
Shutdown the logger infrastructure.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)