ApplicationNameConverter

open class ApplicationNameConverter : ClassicConverter

Deprecated (for removal)

Since version 3.4.0

Logback ClassicConverter to convert the APPLICATION_NAME into a value suitable for logging. Similar to Logback's PropertyConverter but a non-existent property is logged as an empty string rather than null.

Author

Andy Wilkinson

Phillip Webb

Since

3.2.4

Deprecated

since 3.4.0 for removal in 3.6.0 in favor of EnclosedInSquareBracketsConverter

Constructors

Link copied to clipboard
constructor()

Properties

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: ILoggingEvent): 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
fun write(buf: StringBuilder, event: E)