Skip to content

Commit

Permalink
Update to upstream changes to base logging adaptor init
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Sep 26, 2017
1 parent 40702d0 commit f79ee08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/server/winston-adapter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const WinstonAdapter = Space.Logger.Adapter.extend('Space.Logger.WinstonAdapter', {
const WinstonAdapter = Space.Logger.LoggingAdapter.extend('Space.Logger.WinstonAdapter', {

Constructor(winston, transports) {
if (!winston) {
Expand All @@ -8,7 +8,7 @@ const WinstonAdapter = Space.Logger.Adapter.extend('Space.Logger.WinstonAdapter'
transports: transports || []
});
lib.setLevels(winston.config.syslog.levels);
this.setLib(lib);
Space.Logger.LoggingAdapter.call(this, lib);
},

addTransport() {
Expand Down

0 comments on commit f79ee08

Please sign in to comment.