node_pcap icon indicating copy to clipboard operation
node_pcap copied to clipboard

Attach all output into a controllable logger

Open ecaron opened this issue 10 years ago • 0 comments

This change keeps outputting, by default, to console. But it also introduces a setLogger prototype for every exposed component to optionally wrap the output into a different logger (e.g. bunyan) or turn off logging altogether.

ecaron avatar Jan 16 '16 23:01 ecaron