Comparing version 0.3.2 to 0.3.3
@@ -15,8 +15,12 @@ | ||
this._formattedMessage = null; | ||
Object.defineProperty(this, 'message', { | ||
get: this.getFormattedMessage.bind(this) | ||
}); | ||
} | ||
Object.defineProperty(LogRecord.prototype, 'message', { | ||
get: function () { | ||
return this.getFormattedMessage() | ||
} | ||
}); | ||
LogRecord.prototype.getFormattedMeta = function () { | ||
@@ -23,0 +27,0 @@ if (!this.meta) return '' |
{ | ||
"name" : "logg", | ||
"version" : "0.3.2", | ||
"version" : "0.3.3", | ||
"description" : "Logging library that allows for hierarchical loggers, multiple log levels, and flexible watching of log records.", | ||
@@ -5,0 +5,0 @@ "keywords" : ["log", "logging", "logger", "hierarchical", "handler", "watcher"], |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28000
641
0