Returns the primary logger associated with this server instance. @return Logger associated with this server @see org.bukkit.plugin.Plugin#getSLF4JLogger() @apiNote This logger is for the Minecraft server software, not for specific plugins. You should use a logger for a specific plugin, either via {
()
| 1069 | * That way, log messages contain contextual information about the source of the message. |
| 1070 | */ |
| 1071 | @NotNull |
| 1072 | @org.jetbrains.annotations.ApiStatus.Internal // Paper - internalize Bukkit#getLogger |
| 1073 | public static Logger getLogger() { |
| 1074 | return server.getLogger(); |
| 1075 | } |
| 1076 | |
| 1077 | /** |
| 1078 | * Gets a {@link PluginCommand} with the given name or alias. |
no test coverage detected