add option to enable console.logs
This commit is contained in:
parent
d0e114c346
commit
8cf91d027e
6 changed files with 33 additions and 35 deletions
|
|
@ -5,7 +5,7 @@ var config = {
|
|||
network: {
|
||||
apiKey: 'lwjd5qra8257b9',
|
||||
maxPeers: 3,
|
||||
debug: 3,
|
||||
debug: 0,
|
||||
},
|
||||
wallet: {
|
||||
requiredCopayers: 2,
|
||||
|
|
@ -15,4 +15,10 @@ var config = {
|
|||
host: 'localhost',
|
||||
port: 3001
|
||||
},
|
||||
verbose: 0,
|
||||
};
|
||||
|
||||
var log = function () {
|
||||
if (config.verbose) console.log(arguments);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue