func logAllSeverities(logger loggo.Logger) { logger.Criticalf("something critical") logger.Errorf("an error") logger.Warningf("a warning message") logger.Infof("an info message") logger.Debugf("a debug message") logger.Tracef("a trace message") }
func (e cleanupErrors) Log(logger loggo.Logger) { logger.Errorf(e.Error()) for _, err := range e.Errors { logger.Errorf(err.Error()) } }