@voliware/logger
Advanced tools
Comparing version 2.0.9 to 2.0.10
{ | ||
"name": "@voliware/logger", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "A tiny Javascript logger with levels and several options. Supports Node, MongoDB, and all modern Browsers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
if(typeof module !== "undefined"){ | ||
LoggerMessage = require('./LoggerMessage'); | ||
LoggerMessage = require('./loggerMessage'); | ||
} | ||
@@ -4,0 +4,0 @@ |
const {ObjectId} = require('mongodb'); | ||
const Logger = require('./logger'); | ||
const LoggerMessage = require('./LoggerMessage'); | ||
const LoggerMessage = require('./loggerMessage'); | ||
@@ -5,0 +5,0 @@ /** |
@@ -139,3 +139,3 @@ const Assert = require('assert'); | ||
it('logs to the colletion', async function() { | ||
it('logs to the collection', async function() { | ||
await this.mongologger.info("Test 1"); | ||
@@ -161,3 +161,3 @@ const data = await this.collection.findOne(); | ||
it('clears the colletion', async function() { | ||
it('clears the collection', async function() { | ||
await this.mongologger.clear(); | ||
@@ -164,0 +164,0 @@ const data = await this.collection.findOne(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44788
13
1027