Closed kevinburke closed 4 years ago
Sometimes I replace log.Fatal from the standard library with a call to logger.Error and then I forget to add an os.Exit() call.
log.Fatal
logger.Error
os.Exit()
It would be nice to mirror the semantics of the standard library and make it harder to make that mistake.
eh, this was previously discussed and closed in #23 .
(FWIW the place I forgot to call os.Exit was in a main function.)
Sometimes I replace
log.Fatal
from the standard library with a call tologger.Error
and then I forget to add anos.Exit()
call.It would be nice to mirror the semantics of the standard library and make it harder to make that mistake.