public class ProtocolLogger extends Object
| Constructor and Description |
|---|
ProtocolLogger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(String message,
Object... args) |
protected static void |
init(org.bukkit.plugin.Plugin plugin) |
static void |
log(Level level,
String message,
Object... args)
Logs a message to console with a given level.
|
static void |
log(Level level,
String message,
Throwable ex)
Logs a message to console with a given level and exception.
|
static void |
log(String message,
Object... args)
Logs a method to console with the INFO level.
|
protected static void init(org.bukkit.plugin.Plugin plugin)
public static void log(Level level, String message, Object... args)
level - Logging levelmessage - Message to logargs - Arguments to format inpublic static void log(String message, Object... args)
message - Message to logargs - Arguments to format inpublic static void log(Level level, String message, Throwable ex)
level - Logging levelmessage - Message to logex - Exception to logCopyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.