EnclosedInSquareBracketsConverter

open class EnclosedInSquareBracketsConverter : CompositeConverter<E>

Logback CompositeConverter used to help format optional values that should be shown enclosed in square brackets.

Author

Phillip Webb

Since

3.4.0

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var childConverter: Converter<E>
Link copied to clipboard
open var formattingInfo: FormatInfo
Link copied to clipboard
open var next: Converter<E>
Link copied to clipboard
protected open var optionList: List<String>

Functions

Link copied to clipboard
open fun addError(msg: String)
Link copied to clipboard
open fun addInfo(msg: String)
Link copied to clipboard
open fun addStatus(status: Status)
Link copied to clipboard
open fun addWarn(msg: String)
Link copied to clipboard
open fun convert(event: E): String
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
Link copied to clipboard
open fun isStarted(): Boolean
Link copied to clipboard
open fun setContext(context: Context)
Link copied to clipboard
open fun start()
Link copied to clipboard
open fun stop()
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun write(buf: StringBuilder, event: E)