mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
Added Server.getLogger, changed a few anonymous loggers to use it
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
1 parent
e3b86cda50
commit
f398397845
4 files changed
+16
-10
No files matched your search
@@ -3,6 +3,7 @@ package org.bukkit;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import java.util.List;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.bukkit.plugin.PluginManager;
|
||||
import org.bukkit.scheduler.BukkitScheduler;
|
||||
@@ -113,4 +114,11 @@ public interface Server {
|
||||
* Reloads the server, refreshing settings and plugin information
|
||||
*/
|
||||
public void reload();
|
||||
|
||||
/**
|
||||
* Returns the primary logger associated with this server instance
|
||||
*
|
||||
* @return Logger associated with this server
|
||||
*/
|
||||
public Logger getLogger();
|
||||
}
|
||||
Reference in new issue
Block a user