diff --git a/revid/config.go b/revid/config.go index 4c7cb993..ea00f392 100644 --- a/revid/config.go +++ b/revid/config.go @@ -43,7 +43,7 @@ type Config struct { RtmpMethod uint8 Packetization uint8 QuantizationMode uint8 - Verbosity int8 + LogLevel int8 HorizontalFlip uint8 VerticalFlip uint8 FramesPerClip int @@ -107,15 +107,15 @@ const ( // Validate checks for any errors in the config fields and defaults settings // if particular parameters have not been defined. func (c *Config) Validate(r *Revid) error { - switch c.Verbosity { + switch c.LogLevel { case Yes: case No: case NothingDefined: - c.Verbosity = defaultVerbosity - c.Logger.Log(smartlogger.Warning, pkg+"no verbosity mode defined, defaulting", - "verbosity", defaultVerbosity) + c.LogLevel = defaultVerbosity + c.Logger.Log(smartlogger.Warning, pkg+"no LogLevel mode defined, defaulting", + "LogLevel", defaultVerbosity) default: - return errors.New("bad Verbosity defined in config") + return errors.New("bad LogLevel defined in config") } switch c.QuantizationMode {