level参数解析
From the documentation: https://github.com/winstonjs/winston#logging-levels来自文档:https://github.com/winstonjs/winston#logging-levels
Each level is given a specific integer priority. The higher the priority the more important the message is considered to be每个级别都被赋予特定的整数优先级。优先级越高,消息被认为越重要
So, in your example, your transports are configured for
debug: 4
因此,在您的示例中,您的传输配置为 debug: 4
This means it will log levels这意味着它将记录级别
Loading...