Covered all cases in logger.go