feat: support nukkit getRootLogger

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-05-15 16:10:55 +08:00
parent db9746b641
commit 104d1b18d6

View File

@ -45,6 +45,9 @@ export class NukkitServer implements server.Server {
getNettyPipeline() { getNettyPipeline() {
throw new Error("Method not implemented."); throw new Error("Method not implemented.");
} }
getRootLogger() {
return Packages.org.apache.logging.log4j.LogManager.getRootLogger()
}
sendJson(sender: string | any, json: object | string): void { sendJson(sender: string | any, json: object | string): void {
throw new Error("Method not implemented."); throw new Error("Method not implemented.");
} }