Package ch.njol.skript.log
Class BlockingLogHandler
java.lang.Object
ch.njol.skript.log.LogHandler
ch.njol.skript.log.BlockingLogHandler
- All Implemented Interfaces:
OpenCloseable,Closeable,AutoCloseable
Blocks any messages from being logged.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.njol.skript.log.LogHandler
LogHandler.LogResult -
Field Summary
Fields inherited from interface ch.njol.util.OpenCloseable
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstart()A convenience method forSkriptLogger.startLogHandler(LogHandler).
-
Constructor Details
-
BlockingLogHandler
public BlockingLogHandler()
-
-
Method Details
-
log
- Specified by:
login classLogHandler- Parameters:
entry- entry to log- Returns:
- Whether to print the specified entry or not.
-
start
Description copied from class:LogHandlerA convenience method forSkriptLogger.startLogHandler(LogHandler).
Implementations should override this to set the return type to the implementing class.- Overrides:
startin classLogHandler
-