mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-09-27 13:02:35 +02:00
39fa66c828
You can now popout SubCreator with SubServers.Console: /popoutc
29 lines
546 B
Java
29 lines
546 B
Java
package net.ME1312.SubServers.Bungee.Host;
|
|
|
|
import java.util.logging.Level;
|
|
|
|
/**
|
|
* SubServer Log Filter Layout Class
|
|
*/
|
|
public interface SubLogFilter {
|
|
|
|
/**
|
|
* Called when the logging has started
|
|
*/
|
|
void start();
|
|
|
|
/**
|
|
* Determine if this message should be logged
|
|
*
|
|
* @param level Log Level
|
|
* @param message Message to Log
|
|
* @return If this message should be logged
|
|
*/
|
|
boolean log(Level level, String message);
|
|
|
|
/**
|
|
* Called when the logging has stopped
|
|
*/
|
|
void stop();
|
|
}
|