Class BMNLogger
java.lang.Object
de.bluecolored.bluemap.core.logger.Logger
de.bluecolored.bluemap.core.logger.AbstractLogger
com.technicjelle.BMUtils.BMNative.BMNLogger
- All Implemented Interfaces:
AutoCloseable
A logger for BlueMap Native Addons
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBMNLogger
(ClassLoader classLoader) Creates a new logger for a BlueMap Native Addon -
Method Summary
Modifier and TypeMethodDescriptionvoid
Logs a debug messagevoid
Logs an error messagevoid
Logs an error message with an exceptionvoid
Logs an info messagevoid
logWarning
(String message) Logs a warning messageMethods inherited from class de.bluecolored.bluemap.core.logger.AbstractLogger
clearNoFloodLog, noFloodDebug, noFloodError, noFloodInfo, noFloodWarning, removeNoFloodKey
Methods inherited from class de.bluecolored.bluemap.core.logger.Logger
close, combine, combine, file, file, file, file, logError, noFloodDebug, noFloodError, noFloodError, noFloodInfo, noFloodWarning, removeNoFloodMessage, stdOut, stdOut
-
Constructor Details
-
BMNLogger
Creates a new logger for a BlueMap Native Addon- Parameters:
classLoader
- The class loader of the addon- Throws:
IOException
- If the addon ID could not be retrieved
-
-
Method Details
-
logError
Logs an error message- Parameters:
message
- The message to log
-
logError
Logs an error message with an exception -
logWarning
Logs a warning message- Specified by:
logWarning
in classLogger
- Parameters:
message
- The message to log
-
logInfo
Logs an info message -
logDebug
Logs a debug message
-