diff --git a/TypeScript/1LogToConsole/src/mod.ts b/TypeScript/1LogToConsole/src/mod.ts index 4d54e46..f002128 100644 --- a/TypeScript/1LogToConsole/src/mod.ts +++ b/TypeScript/1LogToConsole/src/mod.ts @@ -11,12 +11,12 @@ class Mod implements IPreSptLoadMod public preSptLoad(container: DependencyContainer): void { // get the logger from the server container - const logger = container.resolve("WinstonLogger"); + const logger = container.resolve("PrimaryLogger"); logger.info("I am logging info!"); logger.warning("I am logging a warning!"); logger.error("I am logging an error!"); - logger.logWithColor("I am logging with color!", LogTextColor.YELLOW, LogBackgroundColor.RED); + logger.logWithColor("I am logging with yellow text and a red background!", LogTextColor.YELLOW, LogBackgroundColor.RED); } }