PluginLogger

open class PluginLogger(isDebug: Boolean, prefix: String)

A logger for the plugin.

Constructors

Link copied to clipboard
constructor(isDebug: Boolean, prefix: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun confirm(message: String)

Sends a confirmation message to the console.

Link copied to clipboard
fun confirmI18n(plugin: ColosseumPlugin, key: String, vararg placeholders: Pair<String, String>)

Sends an internationalized confirmation message to the console.

Link copied to clipboard
fun debug(message: String)

Sends a debug message to the console if debug mode is enabled.

Link copied to clipboard
fun error(message: String)

Sends an error message to the console.

Link copied to clipboard
fun errorI18n(plugin: ColosseumPlugin, key: String, vararg placeholders: Pair<String, String>)

Sends an internationalized error message to the console.

Link copied to clipboard
fun info(message: String)

Sends an information message to the console.

Link copied to clipboard
fun infoI18n(plugin: ColosseumPlugin, key: String, vararg placeholders: Pair<String, String>)

Sends an internationalized information message to the console.

Link copied to clipboard
fun url(url: String)

Sends a url to the console.

Link copied to clipboard
fun warn(message: String)

Sends a warning message to the console.

Link copied to clipboard
fun warnI18n(plugin: ColosseumPlugin, key: String, vararg placeholders: Pair<String, String>)

Sends an internationalized warning message to the console.