aurelia-logging
Advanced tools
Comparing version 1.0.0-rc.1.0.1 to 1.0.0
{ | ||
"name": "aurelia-logging", | ||
"version": "1.0.0-rc.1.0.1", | ||
"version": "1.0.0", | ||
"description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ define(['exports', './aurelia-logging'], function (exports, _aureliaLogging) { | ||
Object.keys(_aureliaLogging).forEach(function (key) { | ||
if (key === "default") return; | ||
if (key === "default" || key === "__esModule") return; | ||
Object.defineProperty(exports, key, { | ||
@@ -11,0 +11,0 @@ enumerable: true, |
@@ -10,3 +10,3 @@ 'use strict'; | ||
Object.keys(_aureliaLogging).forEach(function (key) { | ||
if (key === "default") return; | ||
if (key === "default" || key === "__esModule") return; | ||
Object.defineProperty(exports, key, { | ||
@@ -13,0 +13,0 @@ enumerable: true, |
@@ -72,2 +72,26 @@ 'use strict'; | ||
function getLogger(id) { | ||
return loggers[id] || (loggers[id] = createLogger(id)); | ||
} | ||
_export('getLogger', getLogger); | ||
function addAppender(appender) { | ||
appenders.push(appender); | ||
if (appenders.length === 1) { | ||
for (var key in loggers) { | ||
connectLogger(loggers[key]); | ||
} | ||
} | ||
} | ||
_export('addAppender', addAppender); | ||
function setLevel(level) { | ||
currentLevel = level; | ||
} | ||
_export('setLevel', setLevel); | ||
return { | ||
@@ -91,26 +115,3 @@ setters: [], | ||
loggerConstructionKey = {}; | ||
function getLogger(id) { | ||
return loggers[id] || (loggers[id] = createLogger(id)); | ||
} | ||
_export('getLogger', getLogger); | ||
function addAppender(appender) { | ||
appenders.push(appender); | ||
if (appenders.length === 1) { | ||
for (var key in loggers) { | ||
connectLogger(loggers[key]); | ||
} | ||
} | ||
} | ||
_export('addAppender', addAppender); | ||
function setLevel(level) { | ||
currentLevel = level; | ||
} | ||
_export('setLevel', setLevel); | ||
_export('Logger', Logger = function () { | ||
@@ -117,0 +118,0 @@ function Logger(id, key) { |
@@ -11,3 +11,3 @@ 'use strict'; | ||
for (var _key in _aureliaLogging) { | ||
if (_key !== "default") _exportObj[_key] = _aureliaLogging[_key]; | ||
if (_key !== "default" && key !== "__esModule") _exportObj[_key] = _aureliaLogging[_key]; | ||
} | ||
@@ -14,0 +14,0 @@ |
@@ -0,1 +1,6 @@ | ||
<a name="1.0.0"></a> | ||
# [1.0.0](https://github.com/aurelia/logging/compare/1.0.0-rc.1.0.1...v1.0.0) (2016-07-27) | ||
<a name="1.0.0-rc.1.0.1"></a> | ||
@@ -2,0 +7,0 @@ # [1.0.0-rc.1.0.1](https://github.com/aurelia/logging/compare/1.0.0-rc.1.0.0...v1.0.0-rc.1.0.1) (2016-07-12) |
{ | ||
"name": "aurelia-logging", | ||
"version": "1.0.0-rc.1.0.1", | ||
"version": "1.0.0", | ||
"description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.", | ||
@@ -36,10 +36,10 @@ "keywords": [ | ||
"devDependencies": { | ||
"aurelia-tools": "^0.2.3", | ||
"babel-dts-generator": "^0.6.0", | ||
"babel-eslint": "^6.0.5", | ||
"aurelia-tools": "^0.2.4", | ||
"babel-dts-generator": "^0.6.1", | ||
"babel-eslint": "^6.1.2", | ||
"babel-plugin-syntax-flow": "^6.8.0", | ||
"babel-plugin-transform-decorators-legacy": "^1.3.4", | ||
"babel-plugin-transform-es2015-modules-amd": "^6.8.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.10.3", | ||
"babel-plugin-transform-es2015-modules-systemjs": "^6.9.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.11.5", | ||
"babel-plugin-transform-es2015-modules-systemjs": "^6.11.6", | ||
"babel-plugin-transform-flow-strip-types": "^6.8.0", | ||
@@ -51,9 +51,9 @@ "babel-preset-es2015": "^6.9.0", | ||
"del": "^2.2.1", | ||
"eslint": "^2.13.1", | ||
"eslint": "^3.1.1", | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^6.1.2", | ||
"gulp-bump": "^2.1.0", | ||
"gulp-bump": "^2.2.0", | ||
"gulp-concat": "^2.6.0", | ||
"gulp-conventional-changelog": "^1.1.0", | ||
"gulp-eslint": "^2.0.0", | ||
"gulp-eslint": "^3.0.1", | ||
"gulp-ignore": "^2.0.1", | ||
@@ -67,12 +67,12 @@ "gulp-insert": "^0.5.0", | ||
"jasmine-core": "^2.4.1", | ||
"karma": "^0.13.22", | ||
"karma": "^1.1.2", | ||
"karma-babel-preprocessor": "^6.0.1", | ||
"karma-chrome-launcher": "^1.0.1", | ||
"karma-coverage": "^1.0.0", | ||
"karma-coverage": "^1.1.1", | ||
"karma-jasmine": "^1.0.2", | ||
"karma-jspm": "^2.1.1", | ||
"karma-jspm": "^2.2.0", | ||
"merge2": "^1.0.2", | ||
"object.assign": "^4.0.3", | ||
"object.assign": "^4.0.4", | ||
"require-dir": "^0.3.0", | ||
"run-sequence": "^1.2.1", | ||
"run-sequence": "^1.2.2", | ||
"through2": "^2.0.1", | ||
@@ -83,3 +83,3 @@ "typedoc": "^0.4.4", | ||
"vinyl-paths": "^2.1.0", | ||
"yargs": "^4.7.1" | ||
"yargs": "^4.8.1" | ||
}, | ||
@@ -86,0 +86,0 @@ "aurelia": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
138031
51
0