mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge pull request #1180 from log4js-node/update-docs
chore(docs): corrected typo in sample code for multiFile appender
This commit is contained in:
commit
e6f3cb1a62
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user