diff --git a/bower.json b/bower.json index 1cfe3e9..7250317 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "aurelia-logging", - "version": "0.4.0", + "version": "0.5.0", "description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.", "keywords": [ "aurelia", diff --git a/dist/amd/index.js b/dist/amd/index.js index 9cedac6..ce795a5 100644 --- a/dist/amd/index.js +++ b/dist/amd/index.js @@ -1,14 +1,14 @@ define(['exports'], function (exports) { 'use strict'; - var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }; - exports.__esModule = true; exports.AggregateError = AggregateError; exports.getLogger = getLogger; exports.addAppender = addAppender; exports.setLevel = setLevel; + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function AggregateError(msg, inner, skipIfAlreadyAggregate) { if (inner) { if (inner.innerError && skipIfAlreadyAggregate) { diff --git a/dist/commonjs/index.js b/dist/commonjs/index.js index 4991004..92617ce 100644 --- a/dist/commonjs/index.js +++ b/dist/commonjs/index.js @@ -1,13 +1,13 @@ 'use strict'; -var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }; - exports.__esModule = true; exports.AggregateError = AggregateError; exports.getLogger = getLogger; exports.addAppender = addAppender; exports.setLevel = setLevel; +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function AggregateError(msg, inner, skipIfAlreadyAggregate) { if (inner) { if (inner.innerError && skipIfAlreadyAggregate) { diff --git a/dist/system/index.js b/dist/system/index.js index 8df7742..1f1484d 100644 --- a/dist/system/index.js +++ b/dist/system/index.js @@ -1,5 +1,7 @@ System.register([], function (_export) { - var _classCallCheck, logLevel, loggers, currentLevel, appenders, slice, loggerConstructionKey, Logger; + 'use strict'; + + var logLevel, loggers, currentLevel, appenders, slice, loggerConstructionKey, Logger; _export('AggregateError', AggregateError); @@ -9,6 +11,8 @@ System.register([], function (_export) { _export('setLevel', setLevel); + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } + function AggregateError(msg, inner, skipIfAlreadyAggregate) { if (inner) { if (inner.innerError && skipIfAlreadyAggregate) { @@ -111,10 +115,6 @@ System.register([], function (_export) { return { setters: [], execute: function () { - 'use strict'; - - _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }; - logLevel = { none: 0, error: 1, diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index e46d277..080249d 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.5.0 (2015-06-08) + + ## 0.4.0 (2015-04-30) diff --git a/package.json b/package.json index afe07fe..bc99be2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aurelia-logging", - "version": "0.4.0", + "version": "0.5.0", "description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.", "keywords": [ "aurelia",