From 313eb22dc59f4c2003f872db25ea3b74f83bf186 Mon Sep 17 00:00:00 2001 From: Lam Wei Li Date: Fri, 28 Jan 2022 16:32:20 +0800 Subject: [PATCH] chore(docs): corrected typo in sample code for multiFile appender --- docs/multiFile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/multiFile.md b/docs/multiFile.md index 1c4831c..17ef00d 100644 --- a/docs/multiFile.md +++ b/docs/multiFile.md @@ -27,7 +27,7 @@ log4js.configure({ const logger = log4js.getLogger(); logger.debug('I will be logged in logs/default.log'); const otherLogger = log4js.getLogger('cheese'); -logger.info('Cheese is cheddar - this will be logged in logs/cheese.log'); +otherLogger.info('Cheese is cheddar - this will be logged in logs/cheese.log'); ``` This example will result in two log files (`logs/default.log` and `logs/cheese.log`) containing the log messages.