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 5cd02ac08a
commit aab5c86588

View File

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