Package net.jeqo.bloons.logger
Class Logger
java.lang.Object
net.jeqo.bloons.logger.Logger
A utility class intended to log messages easily to the Bukkit console
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidlog(LoggingLevel level, String message) Log a message to the consolestatic voidLogs a message to the console with the DEBUG levelstatic voidLogs a message to the console with the ERROR levelstatic voidLogs a final shutdown message to the Bukkit consolestatic voidLogs a final startup message to the Bukkit console containing plugin informationstatic voidLogs a message to the console with the INFO levelstatic voidLogs an initial shutdown message to the Bukkit consolestatic voidLogs an initialization message to the Bukkit console containing the plugin namestatic voidlogToPlayer(LoggingLevel level, org.bukkit.entity.Player player, String message) Logs a message to the specified playerstatic voidlogToPlayer(org.bukkit.entity.Player player, String message) Logs a message to the specified player with the plugin prefixstatic voidLogs an update notification to the Bukkit consolestatic voidlogUpdateNotificationPlayer(org.bukkit.entity.Player player) Logs an update notification to a playerstatic voidlogWarning(String message) Logs a message to the console with the WARNING levelstatic voidlogWithSTDOUT(String message) Log a message to the console with STDOUT
-
Constructor Details
-
Logger
public Logger()
-
-
Method Details
-
logWithSTDOUT
Log a message to the console with STDOUT- Parameters:
message- The message to log, type java.lang.String
-
logToPlayer
Logs a message to the specified player- Parameters:
level- The logging level, type net.jeqo.bloons.logger.LoggingLevelplayer- The player to log the message to, type org.bukkit.entity.Playermessage- The message to log, type java.lang.String
-
logToPlayer
Logs a message to the specified player with the plugin prefix- Parameters:
player- The player to log the message to, type org.bukkit.entity.Playermessage- The message to log, type java.lang.String
-
log
Log a message to the console- Parameters:
level- The logging level, type net.jeqo.bloons.logger.LoggingLevelmessage- The message to log, type java.lang.String
-
logWarning
Logs a message to the console with the WARNING level- Parameters:
message- The message to log, type java.lang.String
-
logInfo
Logs a message to the console with the INFO level- Parameters:
message- The message to log, type java.lang.String
-
logError
Logs a message to the console with the ERROR level- Parameters:
message- The message to log, type java.lang.String
-
logDebug
Logs a message to the console with the DEBUG level- Parameters:
message- The message to log, type java.lang.String
-
logInitialStartup
public static void logInitialStartup()Logs an initialization message to the Bukkit console containing the plugin name -
logFinalStartup
public static void logFinalStartup()Logs a final startup message to the Bukkit console containing plugin information -
logUpdateNotificationConsole
public static void logUpdateNotificationConsole()Logs an update notification to the Bukkit console -
logUpdateNotificationPlayer
public static void logUpdateNotificationPlayer(org.bukkit.entity.Player player) Logs an update notification to a player- Parameters:
player- The player to log the update notification to, type org.bukkit.entity.Player
-
logInitialShutdown
public static void logInitialShutdown()Logs an initial shutdown message to the Bukkit console -
logFinalShutdown
public static void logFinalShutdown()Logs a final shutdown message to the Bukkit console
-