1.1.1 • Published 6 years ago
pbu-node-logger v1.1.1
Installation
npm install pbu_node_logger
DESC
record and check server log info save in log.txt
USE
const {recordLog,checkLog} = require('pbu-node-logger')
app.use(checkLog(path.resolve(__dirname,'./log.txt')))
recordLog(123,path.resolve(__dirname,'./log.txt'))
GET /checkLog check log