-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
The logging behavior as documented by this snippet on the logging techniques page:
const app = await NestFactory.create(AppModule, {
logger: ['error', 'warn'],
});
await app.listen(process.env.PORT ?? 3000);
doesn't convey the observed behavior that when the logging level is set to just
['log']
you'll actually get all log,warn,error and fatal log entries.
There seems to be an inherited, cascading nature such that debug levels would include log,warn,error,fatal but that is not obviously documented that I can see.
I'd like to confirm that behavior and intent and then update the documentation.
Metadata
Metadata
Assignees
Labels
No labels