Skip to content

Commit

Permalink
chore(all): prepare release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 3, 2016
1 parent 21d92e7 commit 8d98cf1
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-logging",
"version": "1.1.1",
"version": "1.2.0",
"description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.",
"keywords": [
"aurelia",
Expand Down
5 changes: 5 additions & 0 deletions dist/amd/aurelia-logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ define(['exports'], function (exports) {
exports.getLogger = getLogger;
exports.addAppender = addAppender;
exports.setLevel = setLevel;
exports.getLevel = getLevel;



Expand Down Expand Up @@ -108,6 +109,10 @@ define(['exports'], function (exports) {
}
}

function getLevel() {
return globalDefaultLevel;
}

var Logger = exports.Logger = function () {
function Logger(id, key) {

Expand Down
7 changes: 7 additions & 0 deletions dist/aurelia-logging.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ export declare function addAppender(appender: Appender): void;
*/
export declare function setLevel(level: number): void;

/**
* Gets the level of logging of ALL the application loggers.
*
* @return The logLevel value used in all loggers.
*/
export declare function getLevel(): number;

/**
* A logger logs messages to a set of appenders, depending on the log level that is set.
*/
Expand Down
9 changes: 9 additions & 0 deletions dist/aurelia-logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,15 @@ export function setLevel(level: number): void {
}
}

/**
* Gets the level of logging of ALL the application loggers.
*
* @return The logLevel value used in all loggers.
*/
export function getLevel(): number {
return globalDefaultLevel;
}

/**
* A logger logs messages to a set of appenders, depending on the log level that is set.
*/
Expand Down
5 changes: 5 additions & 0 deletions dist/commonjs/aurelia-logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
exports.getLogger = getLogger;
exports.addAppender = addAppender;
exports.setLevel = setLevel;
exports.getLevel = getLevel;



Expand Down Expand Up @@ -107,6 +108,10 @@ function setLevel(level) {
}
}

function getLevel() {
return globalDefaultLevel;
}

var Logger = exports.Logger = function () {
function Logger(id, key) {

Expand Down
4 changes: 4 additions & 0 deletions dist/es2015/aurelia-logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ export function setLevel(level) {
}
}

export function getLevel() {
return globalDefaultLevel;
}

export let Logger = class Logger {
constructor(id, key) {
this.level = logLevel.none;
Expand Down
4 changes: 4 additions & 0 deletions dist/native-modules/aurelia-logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ export function setLevel(level) {
}
}

export function getLevel() {
return globalDefaultLevel;
}

export var Logger = function () {
function Logger(id, key) {

Expand Down
6 changes: 6 additions & 0 deletions dist/system/aurelia-logging.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ System.register([], function (_export, _context) {

_export('setLevel', setLevel);

function getLevel() {
return globalDefaultLevel;
}

_export('getLevel', getLevel);

return {
setters: [],
execute: function () {
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.2.0"></a>
# [1.2.0](https://github.com/aurelia/logging/compare/1.1.1...v1.2.0) (2016-12-03)


### Features

* **logging:** Allow global logLevel to be returned ([1c61077](https://github.com/aurelia/logging/commit/1c61077))



<a name="1.1.1"></a>
## [1.1.1](https://github.com/aurelia/logging/compare/1.1.0...v1.1.1) (2016-11-08)

Expand Down
2 changes: 1 addition & 1 deletion doc/api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-logging",
"version": "1.1.1",
"version": "1.2.0",
"description": "A minimal but effective logging mechanism with support for log levels and pluggable log appenders.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 8d98cf1

Please sign in to comment.