All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.shakelang.util.logger.transformer.kt Maven / Gradle / Ivy

There is a newer version: 0.5.2
Show newest version
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