Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Logging is absolutely not irrelevant to the function of your code. It's a cornerstone of system observability along with instrumentation (metrics) and tracing. It deserves to be unit-tested, same as anything else. Loggers absolutely deserve to be injected and treated the same as any other first-order dependency.


Eh. You can use gdb for tracing too.

I don't see any hard in gloably DI'ed system observability.


*harm




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: