4 ms·
Logging is absolutely not irrelevant to the function of your code. It's a cornerstone of system observability along with instrumentation (metrics) and tracing.
by sagichmal 9y ago
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.
- paulddraper 9y agoEh. You can use gdb for tracing too. I don't see any hard in gloably DI'ed system observability.
- paulddraper 9y ago*harm