code: func (l *BeeLogger) mustLog(level int, message string, args ...interface{}) {
  	if level > logLevel {
  		return
  	}
  	// Acquire the lock
  	l.mu.Lock()
  	defer l.mu.Unlock()
  
  	// Create the logging record and pass into the output
  	record := LogRecord{
  		ID:      fmt.Sprintf("%04d", atomic.AddUint64(&sequenceNo, 1)),
  		Level:   l.getColorLevel(level),
  		Message: fmt.Sprintf(message, args...),
  	}
  
  	err := logRecordTemplate.Execute(l.output, record)
  	if err != nil {
  		panic(err)
  	}
  }
docs: // mustLog logs the message according to the specified level and arguments.
  // It panics in case of an error.