Write errors to different streams depending on context
Three possibilities: 1. User supplied '--log-errors <file>': append to the file 2. Debugger is active: log to the terminal window 3. No debugger, being used as API: log to stderr
Loading
Please sign in to comment