Skip to content

Commit

Permalink
rename setLogger to setLoggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Cap32 committed Aug 3, 2017
1 parent 2f196b8 commit 9d73323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Returns a `logger`.

#### setConfig(keyOrConfig[, value])

Alias: `setLogger`
Alias: `setLoggers`

Initialize configure.

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,6 @@ export function createLogger(category, description) {
return logSystem.getLogger(category);
}

export const setLogger = setConfig;
export const setLoggers = setConfig;
export const logger = createLogger(defaultCategory, defaultAppenders.con);
export default logger;

0 comments on commit 9d73323

Please sign in to comment.