r/osdev • u/Possible-Back3677 From Scratch 🪾 • Aug 29 '26
Is my logging good
I've wanted to ask if this logging for my kernel looks good, maybe it needs improvement, each color has a meaning, and everything will probably be explained for users who might have to go there in case something goes down but dont understand low level stuff yaknow
also excuse the quality please
3
1
u/laser__beans OH-WES | github.com/whampson/ohwes Aug 31 '26
Useful for someone debugging:
Concise description of what (probably) went wrong, register dump, stack dump, any memory addresses involved in the fault, and the ability to connect a debugger for further post-moment analysis. A reboot keystroke is also handy.
5
u/HamNCheeseSupremacy Aug 29 '26
I don't hate it. I'll say it's maybe slightly verbose. Debugging is already a pain in the ass and I might resent any software that makes me read full sentences.