Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.plugin.PluginLogger Class Reference

The PluginLogger class is a modified Logger that prepends all logging calls with the name of the plugin doing the logging. More...

+ Inheritance diagram for org.bukkit.plugin.PluginLogger:
+ Collaboration diagram for org.bukkit.plugin.PluginLogger:

Public Member Functions

 PluginLogger (Plugin context)
 Creates a new PluginLogger that extracts the name from a plugin.
 
void log (LogRecord logRecord)
 

Detailed Description

The PluginLogger class is a modified Logger that prepends all logging calls with the name of the plugin doing the logging.

The API for PluginLogger is exactly the same as Logger.

See Also
Logger

Definition at line 13 of file PluginLogger.java.

Constructor & Destructor Documentation

org.bukkit.plugin.PluginLogger.PluginLogger ( Plugin  context)

Member Function Documentation

void org.bukkit.plugin.PluginLogger.log ( LogRecord  logRecord)

The documentation for this class was generated from the following file: