elves / elvish

Powerful scripting language & versatile interactive shell
https://elv.sh/
BSD 2-Clause "Simplified" License
5.63k stars 300 forks source link

[epm] Consider using stderr for debug, info, warn and error functions #819

Open ilyash-b opened 5 years ago

ilyash-b commented 5 years ago

https://github.com/elves/elvish/blob/c55df583d56fafee790a186eb8d390a80148d1c1/eval/bundled/epm.elv.go#L33-L53

zzamboni commented 5 years ago

Good idea, should be easy to fix.

krader1961 commented 3 years ago

FWIW, I think something like this should be implemented by a trace module that other modules can use. Both so the user has control of the output and can easily control whether a stack trace is included. This is related to issues #1183 and #803.