Create new instances of the null logger to remove potential side effects
This commit is contained in:
parent
e9e8033fda
commit
2e2a0783bf
|
@ -1,8 +1,6 @@
|
|||
// Copyright 2012 Mark Cavage, Inc. All rights reserved.
|
||||
|
||||
var assert = require('assert');
|
||||
|
||||
var logger = require('abstract-logging');
|
||||
var logger = Object.create(require('abstract-logging'));
|
||||
|
||||
var Client = require('./client');
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright 2011 Mark Cavage, Inc. All rights reserved.
|
||||
|
||||
var logger = require('abstract-logging');
|
||||
var logger = Object.create(require('abstract-logging'));
|
||||
|
||||
var client = require('./client');
|
||||
var Attribute = require('./attribute');
|
||||
|
@ -8,7 +8,6 @@ var Change = require('./change');
|
|||
var Protocol = require('./protocol');
|
||||
var Server = require('./server');
|
||||
|
||||
var assert = require('assert');
|
||||
var controls = require('./controls');
|
||||
var persistentSearch = require('./persistent_search');
|
||||
var dn = require('./dn');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright 2011 Mark Cavage, Inc. All rights reserved.
|
||||
|
||||
var logger = require('abstract-logging');
|
||||
var logger = Object.create(require('abstract-logging'));
|
||||
|
||||
var test = require('tape').test;
|
||||
var uuid = require('node-uuid');
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
var asn1 = require('asn1');
|
||||
var logger = require('abstract-logging');
|
||||
var logger = Object.create(require('abstract-logging'));
|
||||
var test = require('tape').test;
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright 2014 Joyent, Inc. All rights reserved.
|
||||
|
||||
var test = require('tape').test;
|
||||
var logger = require('abstract-logging');
|
||||
var logger = Object.create(require('abstract-logging'));
|
||||
|
||||
///--- Globals
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Copyright 2011 Mark Cavage, Inc. All rights reserved.
|
||||
|
||||
var logger = require('abstract-logging');
|
||||
var logger = Object.create(require('abstract-logging'));
|
||||
|
||||
var test = require('tape').test;
|
||||
var uuid = require('node-uuid');
|
||||
|
|
Loading…
Reference in New Issue