文件名称:log-writer:日志记录器
文件大小:5KB
文件格式:ZIP
更新时间:2024-06-10 23:00:31
JavaScript
log-writer.js LogWriter {ログファイル出力} 安装: 例子: var LogWriter = require ( 'log-writer' ) ; var writer = new LogWriter ( 'log-file-name-%s.log' ) ; writer . write ( 'write\r\n' ) ; writer . writeln ( 'writeln' ) ; writer . end ( ) ; LogManagerのログ出力用に使用する场合: var LogManager = require ( 'log-manager' ) ; LogManager . setWiter ( writer ) ; var log = LogManager . getLogger ( ) ; log . trace ( msg , arg1
【文件预览】:
log-writer-master
----.gitignore(3KB)
----package.json(573B)
----log-writer.js(4KB)
----examples()
--------log-writer-ex.js(1KB)
----README.md(840B)
----.npmignore(22B)
----.gitattributes(482B)