Package org.geysermc.geyser
Interface GeyserLogger
- All Known Implementing Classes:
ExtensionLogger
,GeyserBungeeLogger
,GeyserSpigotLogger
,GeyserSpongeLogger
,GeyserStandaloneLogger
,GeyserVelocityLogger
public interface GeyserLogger
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Logs a debug message to consolevoid
Logs an error message to consolevoid
Logs an error message and an exception to consolevoid
Logs an info message to consoleboolean
isDebug()
If debug is enabled for this loggervoid
setDebug(boolean debug)
Sets if the logger should print debug messagesvoid
Logs a severe message to consolevoid
Logs a severe message and an exception to consolevoid
Logs a warning message to console
-
Method Details
-
severe
Logs a severe message to console- Parameters:
message
- the message to log
-
severe
Logs a severe message and an exception to console- Parameters:
message
- the message to logerror
- the error to throw
-
error
Logs an error message to console- Parameters:
message
- the message to log
-
error
Logs an error message and an exception to console- Parameters:
message
- the message to logerror
- the error to throw
-
warning
Logs a warning message to console- Parameters:
message
- the message to log
-
info
Logs an info message to console- Parameters:
message
- the message to log
-
debug
Logs a debug message to console- Parameters:
message
- the message to log
-
setDebug
void setDebug(boolean debug)Sets if the logger should print debug messages- Parameters:
debug
- if the logger should print debug messages
-
isDebug
boolean isDebug()If debug is enabled for this logger
-