问题
I am using Winston 3.1.0 in my NodeJS app, together with Logentries le_node 1.8.0.
Logentries is only capturing only INFO, DEBUG nor ERROR nor DEBUG.
I am using also Console & File transports, and those are logged correctly.
Any idea why LE is only capturing info, debug ?
回答1:
Solved by defining levels
in constructor:
来源:https://stackoverflow.com/questions/54945706/logentries-with-winston-in-not-capturing-error-debug