4 ms·
Question regarding this: should I print output to stdout and log to stderr? Or should only log levels Error and above go to stderr? What about structured loggin
by sureglymop 3y ago
Question regarding this: should I print output to stdout and log to stderr? Or should only log levels Error and above go to stderr?
What about structured logging? Where does that go?
- eesmith 3y agoThe logging libraries I know of let you configure the log destination, for example, to save to stderr and/or a file and/or syslog or the Windows event log, etc. Use the defaults for your logging library and support a config option.