DateTransformer

A transformer that adds a timestamp to the message

Since

0.3.0

Functions

Link copied to clipboard

Generate a timestamp

Link copied to clipboard
fun leadingZero(number: Int, length: Int = 2): String

Stringify a number and add leading zeros

Link copied to clipboard
open override fun transform(level: LogLevel, message: String): String

Transform the message