16 lines
583 B
JavaScript
Raw Normal View History

2022-05-16 17:31:22 +01:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Mod {
// Code added here will load BEFORE the server has started loading
load(container) {
// get the logger from the server container
const logger = container.resolve("WinstonLogger");
logger.info("I am logging info!");
logger.warning("I am logging a warning!");
logger.error("I am logging an error!");
}
// Code added here will be run AFTER the server has started
delayedLoad(container) { return; }
}
module.exports = { mod: new Mod() };