Class Slf4jFloodgateLogger
java.lang.Object
org.geysermc.floodgate.core.logger.Slf4jFloodgateLogger
- All Implemented Interfaces:
FloodgateLogger
-
Field Summary
Fields inherited from interface org.geysermc.floodgate.core.logger.FloodgateLogger
LOGGER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs a debug message to the console, with 0 or more arguments.voidLogs an error message to the console, with 0 or more arguments.voidLogs an error message to the console, with 0 or more arguments.voidLogs an info message to the console, with 0 or more arguments.voidinfo(net.kyori.adventure.text.Component message) booleanisDebug()Returns true if debugging is enabledvoidLogs a trace message to the console, with 0 or more arguments.voidtranslatedInfo(TranslatableMessage message, Placeholder... args) voidLogs a warning message to the console, with 0 or more arguments.
-
Constructor Details
-
Slf4jFloodgateLogger
public Slf4jFloodgateLogger()
-
-
Method Details
-
error
Description copied from interface:FloodgateLoggerLogs an error message to the console, with 0 or more arguments.- Specified by:
errorin interfaceFloodgateLogger- Parameters:
message- the message to log to the consoleargs- the arguments to fill the missing spots in the message
-
error
Description copied from interface:FloodgateLoggerLogs an error message to the console, with 0 or more arguments.- Specified by:
errorin interfaceFloodgateLogger- Parameters:
message- the message to log to the consolethrowable- the throwable to logargs- the arguments to fill the missing spots in the message
-
warn
Description copied from interface:FloodgateLoggerLogs a warning message to the console, with 0 or more arguments.- Specified by:
warnin interfaceFloodgateLogger- Parameters:
message- the message to log to the consoleargs- the arguments to fill the missing spots in the message
-
info
Description copied from interface:FloodgateLoggerLogs an info message to the console, with 0 or more arguments.- Specified by:
infoin interfaceFloodgateLogger- Parameters:
message- the message to log to the consoleargs- the arguments to fill the missing spots in the message
-
info
public void info(net.kyori.adventure.text.Component message) - Specified by:
infoin interfaceFloodgateLogger
-
translatedInfo
- Specified by:
translatedInfoin interfaceFloodgateLogger
-
debug
Description copied from interface:FloodgateLoggerLogs a debug message to the console, with 0 or more arguments.- Specified by:
debugin interfaceFloodgateLogger- Parameters:
message- the message to log to the consoleargs- the arguments to fill the missing spots in the message
-
trace
Description copied from interface:FloodgateLoggerLogs a trace message to the console, with 0 or more arguments.- Specified by:
tracein interfaceFloodgateLogger- Parameters:
message- the message to log to the consoleargs- the arguments to fill the missing spots in the message
-
isDebug
public boolean isDebug()Description copied from interface:FloodgateLoggerReturns true if debugging is enabled- Specified by:
isDebugin interfaceFloodgateLogger
-