Class LoggerUtils
java.lang.Object
me.unurled.srcore.utils.LoggerUtils
The LoggerUtils class is a class that is used to log messages to the console.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Log an error to the consolestatic void
error
(net.kyori.adventure.text.Component message) Log an error to the consolestatic void
Log a message to the consolestatic void
log
(net.kyori.adventure.text.Component message) Log a message to the consolestatic void
Log a warning to the consolestatic void
warn
(net.kyori.adventure.text.Component message) Log a warning to the console
-
Method Details
-
log
Log a message to the console- Parameters:
message
- the message to log
-
warn
Log a warning to the console- Parameters:
message
- the message to log
-
error
Log an error to the console- Parameters:
message
- the message to log
-
log
public static void log(net.kyori.adventure.text.Component message) Log a message to the console- Parameters:
message
- the message to log
-
warn
public static void warn(net.kyori.adventure.text.Component message) Log a warning to the console- Parameters:
message
- the message to log
-
error
public static void error(net.kyori.adventure.text.Component message) Log an error to the console- Parameters:
message
- the message to log
-