Package com.comphenix.protocol
Class ProtocolLogger
java.lang.Object
com.comphenix.protocol.ProtocolLogger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidinit(ProtocolLib plugin) Don't call this method from any plugin.static voidLogs a method to console with the INFO level.static voidLogs a message to console with a given level.static voidLogs a message to console with a given level and exception.static voidwarnAbove(MinecraftVersion version, String message, Object... args)
-
Constructor Details
-
ProtocolLogger
public ProtocolLogger()
-
-
Method Details
-
init
Don't call this method from any plugin. Currently only public to test if it fixes a weird error. See GH-740- Parameters:
plugin- ProtocolLib
-
log
Logs a message to console with a given level.- Parameters:
level- Logging levelmessage- Message to logargs- Arguments to format in
-
log
Logs a method to console with the INFO level.- Parameters:
message- Message to logargs- Arguments to format in
-
log
Logs a message to console with a given level and exception.- Parameters:
level- Logging levelmessage- Message to logex- Exception to log
-
debug
-
debug
-
warnAbove
-