feat: support nukkit getRootLogger
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		@@ -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.");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user