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 541a3bb96b
commit 63aef1fe60

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.");
} }