public class Logger
extends net.minecrell.terminalconsole.SimpleTerminalConsole
implements org.geysermc.connector.GeyserLogger
| Constructor and Description |
|---|
Logger() |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message) |
void |
error(String message) |
void |
error(String message,
Throwable error) |
void |
info(String message) |
boolean |
isDebug() |
protected boolean |
isRunning() |
static String |
printConsole(String message,
boolean colors) |
protected void |
runCommand(String line) |
void |
setDebug(boolean debug) |
void |
severe(String message) |
void |
severe(String message,
Throwable error) |
protected void |
shutdown() |
void |
warning(String message) |
protected boolean isRunning()
isRunning in class net.minecrell.terminalconsole.SimpleTerminalConsoleprotected void runCommand(String line)
runCommand in class net.minecrell.terminalconsole.SimpleTerminalConsoleprotected void shutdown()
shutdown in class net.minecrell.terminalconsole.SimpleTerminalConsolepublic void severe(String message)
severe in interface org.geysermc.connector.GeyserLoggerpublic void severe(String message, Throwable error)
severe in interface org.geysermc.connector.GeyserLoggerpublic void error(String message)
error in interface org.geysermc.connector.GeyserLoggerpublic void error(String message, Throwable error)
error in interface org.geysermc.connector.GeyserLoggerpublic void warning(String message)
warning in interface org.geysermc.connector.GeyserLoggerpublic void info(String message)
info in interface org.geysermc.connector.GeyserLoggerpublic void debug(String message)
debug in interface org.geysermc.connector.GeyserLoggerpublic void setDebug(boolean debug)
setDebug in interface org.geysermc.connector.GeyserLoggerpublic boolean isDebug()
isDebug in interface org.geysermc.connector.GeyserLoggerCopyright © 2021 GeyserMC. All rights reserved.