newInstance

open fun newInstance(configuration: Configuration, options: Array<String>): WhitespaceThrowablePatternConverter

Creates a new instance of the class. Required by Log4J2.

Return

a new WhitespaceThrowablePatternConverter

Parameters

configuration

current configuration

options

pattern options, may be null. If first element is "short", only thefirst line of the throwable will be formatted.