Skip to content

Commit

Permalink
chore(all): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 21, 2017
1 parent b91423e commit 754a14f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ let loggers = {};
let appenders = [];
let globalDefaultLevel = logLevel.none;

function appendArgs() {
function appendArgs() {
return [this, ...arguments];
}

function logFactory(level) {
const threshold = logLevel[level];
const threshold = logLevel[level];
return function() {
// In this function, this === logger
if (this.level < threshold) {
Expand All @@ -66,7 +66,7 @@ function connectLoggers() {
debug: logFactory('debug'),
info: logFactory('info'),
warn: logFactory('warn'),
error: logFactory('error'),
error: logFactory('error')
});
}

Expand Down Expand Up @@ -133,7 +133,7 @@ export function addAppender(appender: Appender): void {
* @param appender An appender that has been added previously.
*/
export function removeAppender(appender: Appender): void {
appenders = appenders.filter(a => a !== appender)
appenders = appenders.filter(a => a !== appender);
}

/**
Expand Down

0 comments on commit 754a14f

Please sign in to comment.