MCPcopy Create free account
hub / github.com/PaperMC/Paper / getLogger

Method getLogger

paper-api/src/main/java/org/bukkit/Bukkit.java:1071–1075  ·  view source on GitHub ↗

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 {

()

Source from the content-addressed store, hash-verified

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.

Callers 15

resetTimingsMethod · 0.95
ofMethod · 0.95
setTimingsEnabledMethod · 0.95
setHistoryLengthMethod · 0.95
applyMethod · 0.95
CustomTimingsHandlerMethod · 0.95
loadConfigurationMethod · 0.95
getVersionMessageMethod · 0.95
printlnMethod · 0.95
dumpTraceForThreadMethod · 0.95
initMethod · 0.95

Calls 1

getLoggerMethod · 0.65

Tested by

no test coverage detected