Rename LogError to ErrorLogger?
I always think LogError
is an error type. It should be named differently. How about this?
with ErrorLogger(self.logger):
do_something_dangerous()
I always think LogError
is an error type. It should be named differently. How about this?
with ErrorLogger(self.logger):
do_something_dangerous()