awesomeeng / awesome-log

Logging for enterprise ready nodejs applications.
MIT License
34 stars 4 forks source link

Please accept my pull request: Bugfix for custom log levels. #21

Closed 0LEG0 closed 3 years ago

0LEG0 commented 3 years ago

I've found that custom log levels were not applied. You can reproduce this bug with following code: Log.init({ writers: [{ name: "MyConsoleWriter", type: "console", levels: "error,warn,info", // it does not log anything except the case levels: "*" formatter: "default", options: { } }] });

Best regards, Anton