func (e *ModelWatcher) LogForwardConfig() (*syslog.RawConfig, bool, error) {
	// TODO(wallyworld) - lp:1602237 - this needs to have it's own backend implementation.
	// For now, we'll piggyback off the ModelConfig API.
	modelConfig, err := e.ModelConfig()
	if err != nil {
		return nil, false, err
	}
	cfg, ok := modelConfig.LogFwdSyslog()
	return cfg, ok, nil
}
// LogForwardConfig returns the current log forward syslog configuration.
LogForwardConfig returns the current log forward syslog configuration.
// LogForwardConfig returns the current log forward syslog configuration .
func (e *ModelWatcher) LogForwardConfig() (*syslog.RawConfig, bool, error) {
	modelConfig, err := e.ModelConfig()
	if err != nil {
		return nil, false, err
	}
	cfg, ok := modelConfig.LogFwdSyslog()
	return cfg, ok, nil
}
func ( e * ModelWatcher ) LogForwardConfig ( ) ( * syslog . RawConfig , bool , error ) { modelConfig , err := e . ModelConfig ( ) if err != nil { return nil , false , err } cfg , ok := modelConfig . LogFwdSyslog ( ) return cfg , ok , nil }
LogForwardConfig returns the current log forward syslog configuration.
LogForwardConfig returns the current log forward syslog configuration .
// TODO(wallyworld) - lp:1602237 - this needs to have it's own backend implementation. // For now, we'll piggyback off the ModelConfig API.