ru.astrainteractive.astralibs.logging.Logger.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core utilities for spigot development
package ru.astrainteractive.astralibs.logging
/**
* Use [Logger] with delegation
*/
interface Logger {
@Suppress("VariableNaming")
val TAG: String
fun error(logMessage: () -> String)
fun error(error: Throwable?, logMessage: () -> String)
fun info(logMessage: () -> String)
fun verbose(logMessage: () -> String)
fun warn(logMessage: () -> String)
fun debug(logMessage: () -> String)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy