Class ConsoleHandler
java.lang.Object
com.sk89q.worldguard.blacklist.logger.ConsoleHandler
- All Implemented Interfaces:
LoggerHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close the logger.void
logEvent
(BlacklistEvent event, String comment) Log an event.
-
Constructor Details
-
ConsoleHandler
-
-
Method Details
-
logEvent
Description copied from interface:LoggerHandler
Log an event.- Specified by:
logEvent
in interfaceLoggerHandler
- Parameters:
event
- The eventcomment
- The comment to log with the event
-
close
public void close()Description copied from interface:LoggerHandler
Close the logger.- Specified by:
close
in interfaceLoggerHandler
-