commonMain.com.shakelang.util.logger.transformer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logger-jvm Show documentation
Show all versions of logger-jvm Show documentation
Logger utility for Kotlin Multiplatform.
package com.shakelang.util.logger
/**
* A [LogTransformer] transforms a log message before it is logged
* @since 0.3.0
* @version 0.5.1
*/
interface LogTransformer {
/**
* Transform a log message
* @param level the level of the log message
* @param message the message to transform
* @return the transformed message
*
* @since 0.3.0
* @version 0.5.1
*/
fun transform(level: LogLevel, message: String): String
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy