code: func NewStructLogger(cfg *LogConfig) *StructLogger {
  	logger := &StructLogger{
  		changedValues: make(map[common.Address]Storage),
  	}
  	if cfg != nil {
  		logger.cfg = *cfg
  	}
  	return logger
  }
docs: // NewStructLogger returns a new logger