daily:Daily - 基于 LevelDB 的日志记录系统

时间:2021-06-22 16:37:12
【文件属性】:
文件名称:daily:Daily - 基于 LevelDB 的日志记录系统
文件大小:28KB
文件格式:ZIP
更新时间:2021-06-22 16:37:12
JavaScript #日常的 Daily - 基于 LevelDB 的日志记录系统 安装 npm install daily 例子 1.启动服务器 启动服务器,默认设置(端口:10200,地址:0.0.0.0,位置:./daily.db) $ daily server 2.创建客户端并登录 var daily = require ( 'daily' ) ; // Open a connection to the daily server var client = new daily . Client ( ) ; // By default the log-levels range from 1 to 5, where log level 1 will live // the longest so this should be used for the most critical errors. cl
【文件预览】:
daily-master
----.travis.yml(60B)
----package.json(766B)
----test()
--------exec.js(366B)
--------simple()
--------setup.js(923B)
--------default-port.js(65B)
----daily.js(91B)
----LICENSE.md(1KB)
----.gitignore(31B)
----lib()
--------client.js(8KB)
--------server.js(3KB)
--------reader.js(770B)
----README.md(9KB)
----cli()
--------read.js(2KB)
--------index.js(3KB)
--------server.js(766B)
--------help.txt(1KB)

网友评论