Skip to content

Commit

Permalink
Expose getter for all loggers on defaultLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilsonv committed Nov 2, 2017
1 parent 132c01e commit 02995e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/loglevel.js
Expand Up @@ -242,5 +242,9 @@
return defaultLogger;
};

defaultLogger.getLoggers = function getLoggers() {
return _loggersByName;
};

return defaultLogger;
}));

0 comments on commit 02995e4

Please sign in to comment.