Packages

  • package root
    Definition Classes
    root
  • package play

    Play framework.

    Play framework.

    Play

    http://www.playframework.com

    Definition Classes
    root
  • package api

    Contains the public API for Scala developers.

    Contains the public API for Scala developers.

    Read configuration
    val poolSize = configuration.getInt("engine.pool.size")
    Use the logger
    Logger.info("Hello!")
    Define a Plugin
    class MyPlugin(app: Application) extends Plugin
    Create adhoc applications (for testing)
    val application = Application(new File("."), this.getClass.getClassloader, None, Play.Mode.DEV)
    Definition Classes
    play
  • package libs

    Contains various APIs that are useful while developing web applications.

    Contains various APIs that are useful while developing web applications.

    Definition Classes
    api
  • package logback
    Definition Classes
    libs
  • ColoredLevel
  • LogbackLoggerConfigurator
c

play.api.libs.logback

ColoredLevel

class ColoredLevel extends ClassicConverter

A logback converter generating colored, lower-case level names.

Used for example as:

%coloredLevel %logger{15} - %message%n%xException{5}
Annotations
@deprecated
Deprecated

(Since version 2.9.0) Use %highlight(%-5level) instead of %coloredLevel in logback config files

Source
ColoredLevel.scala
Linear Supertypes
ClassicConverter, DynamicConverter[ILoggingEvent], ContextAware, LifeCycle, FormattingConverter[ILoggingEvent], Converter[ILoggingEvent], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ColoredLevel
  2. ClassicConverter
  3. DynamicConverter
  4. ContextAware
  5. LifeCycle
  6. FormattingConverter
  7. Converter
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ColoredLevel()

    Deprecated

    Since 2.9.0. Use %highlight(%-5level) instead of %coloredLevel in logback config files

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addError(arg0: String, arg1: Throwable): Unit
    Definition Classes
    DynamicConverter → ContextAware
  5. def addError(arg0: String): Unit
    Definition Classes
    DynamicConverter → ContextAware
  6. def addInfo(arg0: String, arg1: Throwable): Unit
    Definition Classes
    DynamicConverter → ContextAware
  7. def addInfo(arg0: String): Unit
    Definition Classes
    DynamicConverter → ContextAware
  8. def addStatus(arg0: Status): Unit
    Definition Classes
    DynamicConverter → ContextAware
  9. def addWarn(arg0: String, arg1: Throwable): Unit
    Definition Classes
    DynamicConverter → ContextAware
  10. def addWarn(arg0: String): Unit
    Definition Classes
    DynamicConverter → ContextAware
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  13. def convert(event: ILoggingEvent): String
    Definition Classes
    ColoredLevel → Converter
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. def getContext(): Context
    Definition Classes
    DynamicConverter → ContextAware
  18. def getFirstOption(): String
    Definition Classes
    DynamicConverter
  19. final def getFormattingInfo(): FormatInfo
    Definition Classes
    FormattingConverter
  20. final def getNext(): Converter[ILoggingEvent]
    Definition Classes
    Converter
  21. def getOptionList(): List[String]
    Attributes
    protected[pattern]
    Definition Classes
    DynamicConverter
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isStarted(): Boolean
    Definition Classes
    DynamicConverter → LifeCycle
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  28. def setContext(arg0: Context): Unit
    Definition Classes
    DynamicConverter → ContextAware
  29. final def setFormattingInfo(arg0: FormatInfo): Unit
    Definition Classes
    FormattingConverter
  30. final def setNext(arg0: Converter[ILoggingEvent]): Unit
    Definition Classes
    Converter
  31. def setOptionList(arg0: List[String]): Unit
    Definition Classes
    DynamicConverter
  32. def start(): Unit
    Definition Classes
    DynamicConverter → LifeCycle
  33. def stop(): Unit
    Definition Classes
    DynamicConverter → LifeCycle
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def write(arg0: StringBuilder, arg1: ILoggingEvent): Unit
    Definition Classes
    FormattingConverter → Converter

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ClassicConverter

Inherited from DynamicConverter[ILoggingEvent]

Inherited from ContextAware

Inherited from LifeCycle

Inherited from FormattingConverter[ILoggingEvent]

Inherited from Converter[ILoggingEvent]

Inherited from AnyRef

Inherited from Any

Ungrouped