News for hackers. Stuff that matters.
Re:The Five Levels of Logging by dionian on Friday September 14, 2018 @02:48PM (#17989788)
trace: used for visualizing flow of program, extremely noisy and never on prod

debug: low level flow of program, inputs/outputs

info: what I want to see at runtime in prod, high level flow of program, details about operation so I know what's going on if I want to look

warn: things that may indicate errors or other unexpected situations to be aware of that may be relevant to problems elsewhere

error: something serious or unexpected that probably indicates a defect.. issue that needs to be looked into... unhandled/unexpected state

Re:The Five Levels of Logging by ohazi on Friday September 14, 2018 @03:09PM (#17989971)
trace: printf debugging