Add test.js
This commit is contained in:
parent
ee055f3096
commit
63f2729be6
1 changed files with 7 additions and 0 deletions
7
test.js
Normal file
7
test.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
const q = require("./quickielog/index.js")
|
||||
|
||||
const logger = new q.Logger("QuickieLog Test (No JSON)", false)
|
||||
const json_logger = new q.Logger("QuickieLog Test (JSON)",true)
|
||||
|
||||
q.log(logger, "INFO", "Hello World!")
|
||||
q.log(json_logger, "INFO", "Hello World!")
|
Loading…
Reference in a new issue