This variable has many methods for log and trace including: debug, info, warn, error, and log.
此变量具有很多方法,可用来进行日志记录和跟踪,比如debug、info、warn、error和log。
The priority field contains a keyword, such as debug, info, notice, or warning.
优先级字段包含一个关键字,例如debug、info、notice或者warning。
You can call methods on the log object that correspond to the desired log level: debug, info, error, and so on. (See Resources for more information on logging.)
可以调用log对象上与想要的日志级别相对应的方法,这些日志级别包括:debug、info和error等(参见参考资料了解关于日志记录的更多信息)。
Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept.
调试日志只在程序运行时候出现。错误,警告和一般信息日志一直都在。
Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
可能存在“调式,信息,通知,警告,错误…”
Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
可能存在“调式,信息,通知,警告,错误…”
应用推荐