code: func (l *JSONFileLogger) Log(msg *logger.Message) error {
  	l.mu.Lock()
  	err := l.writer.WriteLogEntry(msg)
  	l.mu.Unlock()
  	return err
  }
docs: // Log converts logger.Message to jsonlog.JSONLog and serializes it to file.