ColoredLevel

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}

Attributes

Deprecated

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

Graph
Supertypes
class ClassicConverter
class DynamicConverter[ILoggingEvent]
trait ContextAware
trait LifeCycle
class FormattingConverter[ILoggingEvent]
class Converter[ILoggingEvent]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def convert(event: ILoggingEvent): String

Inherited methods

def addError(x$0: String, x$1: Throwable): Unit

Attributes

Inherited from:
DynamicConverter
def addError(x$0: String): Unit

Attributes

Inherited from:
DynamicConverter
def addInfo(x$0: String, x$1: Throwable): Unit

Attributes

Inherited from:
DynamicConverter
def addInfo(x$0: String): Unit

Attributes

Inherited from:
DynamicConverter
def addStatus(x$0: Status): Unit

Attributes

Inherited from:
DynamicConverter
def addWarn(x$0: String, x$1: Throwable): Unit

Attributes

Inherited from:
DynamicConverter
def addWarn(x$0: String): Unit

Attributes

Inherited from:
DynamicConverter
def getContext(): Context

Attributes

Inherited from:
DynamicConverter
def getFirstOption(): String

Attributes

Inherited from:
DynamicConverter
final def getFormattingInfo(): FormatInfo

Attributes

Inherited from:
FormattingConverter
final def getNext(): Converter[E]

Attributes

Inherited from:
Converter

Attributes

Inherited from:
DynamicConverter
def setContext(x$0: Context): Unit

Attributes

Inherited from:
DynamicConverter
final def setFormattingInfo(x$0: FormatInfo): Unit

Attributes

Inherited from:
FormattingConverter
final def setNext(x$0: Converter[ILoggingEvent]): Unit

Attributes

Inherited from:
Converter
def setOptionList(x$0: List[String]): Unit

Attributes

Inherited from:
DynamicConverter
def start(): Unit

Attributes

Inherited from:
DynamicConverter
def stop(): Unit

Attributes

Inherited from:
DynamicConverter
final def write(x$0: StringBuilder, x$1: ILoggingEvent): Unit

Attributes

Inherited from:
FormattingConverter