You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before execution, heph would create a file, pass its absolute path in the target as an env var HEPH_ERROR
Userland targets could be writing into that file which would be watched by heph during execution, any line written to it would be converted to a log.Warn/Error/Info
echo "Something is failing" >> $HEPH_ERROR
echo "Watch out for crocodiles!" >> $HEPH_WARN
raphaelvigee
changed the title
Have a way for targets to generate warning/error/info messages
Targets to generate warning/error/info messages from userland
Apr 24, 2024
Before execution, heph would create a file, pass its absolute path in the target as an env var
HEPH_ERROR
Userland targets could be writing into that file which would be watched by heph during execution, any line written to it would be converted to a
log.Warn/Error/Info
See https://gist.github.com/matishsiao/fc1601a3a3f37c70d91ab3b1ed8485c4
The text was updated successfully, but these errors were encountered: