logatim icon indicating copy to clipboard operation
logatim copied to clipboard

Add logatim.config.js

Open sospedra opened this issue 8 years ago • 0 comments

So we can abstract the configuration from the implementation.

The config would be able to modify:

{
  level: {String | Number},
  channels: [{
     wagon: {Function}, // plug-in
     options: {Object}, 
     levels: {String []},
     test: {Regexp},
     exclude: {Regexp},
     replace: {Boolean}
  }],
  storageKey: {String}, // name used to store the logatim level
  env: {'node' | 'browser'},
  logMethods: {String []},
  verbose: {Boolean},
  infect: {Boolean}
}

sospedra avatar May 07 '16 15:05 sospedra