X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fdingus.js;h=0057685815472ace39dd086957da6a4b6251bbd3;hb=914e78e62c740792ed7f6de319360ea4aa60c67e;hp=d8eed919a6fd992b463f2fc154edc034ff7dfdb2;hpb=df1c89ca311a06417104e6be0ade6617cbfae60e;p=squeep-api-dingus diff --git a/lib/dingus.js b/lib/dingus.js index d8eed91..0057685 100644 --- a/lib/dingus.js +++ b/lib/dingus.js @@ -44,7 +44,7 @@ class Dingus { * @param {Boolean} options.trustProxy trust some header data to be provided by proxy * @param {Object} options.querystring alternate qs parser to use */ - constructor(logger = common.nullLogger, options = {}) { + constructor(logger = console, options = {}) { common.setOptions(this, defaultOptions, options); this.router = new Router(options);