logatim
logatim copied to clipboard
Add logatim.config.js
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}
}