Skip to content

Conversation

@knutaros
Copy link
Contributor

@knutaros knutaros commented Dec 2, 2020

clear separation between trace logging to stdout and warning/error logging to stderr

@bolding
Copy link
Collaborator

bolding commented Dec 12, 2025

I actually think the original use of stderr is correct. For two reasons:

  1. stderr is for errors AND diagnostics
  2. if stdout is used for diagnostics the concept of piping (in Linux) becomes difficult.

I know GOTM is not used in pipes - at least I'm not aware of it - but out of principle

@knutaros
Copy link
Contributor Author

knutaros commented Dec 12, 2025 via email

@bolding
Copy link
Collaborator

bolding commented Dec 12, 2025

Is the subroutine only used for reporting out of bounds?

It is clearly a diagnostic and should go to STDERR I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants