update dependencies
parent
78e6df7db5
commit
7f23316c4e
|
@ -1,2 +1,3 @@
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/coverage/
|
/coverage/
|
||||||
|
*.yaml
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
import logger from '../src/logger'
|
|
||||||
let log = {}
|
|
||||||
|
|
||||||
class LOGTEST {
|
|
||||||
constructor(opts) {
|
|
||||||
log = logger({
|
|
||||||
name: 'test',
|
|
||||||
id: opts.id,
|
|
||||||
file: 'example/example.js',
|
|
||||||
class: 'LOGTEST'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
let test = new LOGTEST({id:'process-test1'})
|
|
||||||
|
|
||||||
log.info({test:'filter', msg:'this is a logged message'})
|
|
||||||
log.fatal('this is a fatal logged message')
|
|
|
@ -27,8 +27,8 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/uCOMmandIt/uci-changeme#readme",
|
"homepage": "https://github.com/uCOMmandIt/uci-changeme#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pino": "^5.9.0",
|
"pino": "^5.11.0",
|
||||||
"pino-pretty": "^2.4.0"
|
"pino-pretty": "^2.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
|
|
Loading…
Reference in New Issue