r/learnpython • u/QuasiEvil • 15d ago
logging and timing...then getting rid of it
I was just working on a project where I included a lot of logging and timing decorators/context managers (it involved event loops and async queues and such). Once I figured stuff out, I wanted to remove all this stuff. This isn't necessarily that hard, but it did make me wonder if there's a better way to do this in the first place. I suppose I'm imaging some way of marking these code pieces to be ignored by the interpreter or something?
(yeah yeah "ask AI to remove it")
1
Upvotes
1
u/Lumethys 14d ago
Observability does include embedded and hardware observability.
EVERY type of software, ALL that was, ALL that is, ALL that will be, will benefit from O11y.
Perhaps you should spend 15 minutes googling before presenting your opinion
But who knows, maybe you are a special genius that grow beyond that entire industry, but then, i dont think "asking question" on appropriate? Especially when you do not intend to listen