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等(参见参考资料了解关于日志记录的更多信息)。
应用推荐