code: func (l LogClass) String() string {
  	switch l {
  	case NONE:
  		return "none"
  	case TRACE:
  		return "trace"
  	case TRACEPLUS:
  		return "trace+"
  	case DEBUG:
  		return "debug"
  	case DEBUGPLUS:
  		return "debug+"
  	case INFO:
  		return "info"
  	case INFOPLUS:
  		return "info+"
  	case WARN:
  		return "warn"
  	case WARNPLUS:
  		return "warn+"
  	case ERROR:
  		return "error"
  	case ERRORPLUS:
  		return "error+"
  	case FATAL:
  		return "fatal"
  	case FATALPLUS:
  		return "fatal+"
  	case ALL:
  		return "all"
  	}
  
  	// The consts do not match the class, so iterate over the base types and
  	// generate a combination of the log classes.
  	classes := make([]string, 0)
  	for _, lc := range baseLogClasses {
  		if l&lc == lc {
  			classes = append(classes, lc.String())
  		}
  	}
  	return strings.Join(classes, "|")
  }
docs: // Returns string representation of the given class.