Package net.lewmc.essence.utils
Class LogUtil
java.lang.Object
net.lewmc.essence.utils.LogUtil
Essence's logger.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Logs a message to the server console as informational (standard).void
Logs a message to the console, informing the console operator that it cannot run the command requested.void
Logs a message to the server console as severe (fatal error).void
Logs a message to the server console as warning (non-fatal error).
-
Constructor Details
-
LogUtil
Constructor for the LogUtil class.- Parameters:
plugin
- - Reference to the main Essence class.
-
-
Method Details
-
info
Logs a message to the server console as informational (standard).- Parameters:
message
- String - Message to log.
-
warn
Logs a message to the server console as warning (non-fatal error).- Parameters:
message
- String - Message to log.
-
severe
Logs a message to the server console as severe (fatal error).- Parameters:
message
- String - Message to log.
-
noConsole
public void noConsole()Logs a message to the console, informing the console operator that it cannot run the command requested.
-