直接使用createLogger方法就可以创建一个logger,此方法可以传入一些参数,如下:. level //能打印的日志级别. levels //自定义日志级别. format //格式化 ...
確定! 回上一頁