diff --git a/README.md b/README.md index f1155fa..07709cb 100755 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ Returns a `logger`. #### setConfig(keyOrConfig[, value]) - Alias: `setLogger` + Alias: `setLoggers` Initialize configure. diff --git a/src/index.js b/src/index.js index ca06621..bbb1f63 100644 --- a/src/index.js +++ b/src/index.js @@ -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;