Can you move this to a `logger.go` file?