code: func (c *Registry) IsLogJSON() bool {
  	if c.v.IsSet(varLogJSON) {
  		return c.v.GetBool(varLogJSON)
  	}
  	if c.IsPostgresDeveloperModeEnabled() {
  		return false
  	}
  	return true
  }
docs: // IsLogJSON returns if we should log json format (as set via config file or environment variable)