package com.nicewuerfel.blockown.output; import org.bukkit.World; import java.util.logging.Logger; public interface Output { /** * For severe errors Prints info about the throwable to console. * * @param throwable the Throwable */ void printError(Throwable throwable); /** * For severe errors Prints the message to console. * * @param message the message. Should be user readable */ void printError(String message); /** * For severe errors Prints the message and info about the throwable to console. * * @param message the message, Should be user readable * @param throwable the Throwable */ void printError(String message, Throwable throwable); /** * Prints info about the throwable to console. Details only shown in debug mode. * * @param throwable the Throwable */ void printException(Throwable throwable); /** * Prints the message to console. Details only shown in debug mode. * * @param message the message. Should be user readable */ void printException(String message); /** * Prints the message and info about the throwable to console. Details only shown in debug mode. * * @param message the message, Should be user readable * @param throwable the Throwable */ void printException(String message, Throwable throwable); /** * Prints string message to console. * * @param message the message */ void printConsole(String message); /** * Broadcast a message on the whole server. * * @param message the message */ void broadcast(String message); /** * Broadcast a message in a specific world. * * @param world the world * @param message the message */ void broadcast(World world, String message); /** * Prints a debug message. * * @param message the message */ void debugMessage(String message); /** * Gets the plugin's Logger. * * @return the Logger */ Logger getLogger(); }