/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = FormatJson.GetHashCode(); hashCode = (hashCode * 397) ^ (LogFormat != null ? LogFormat.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Logger != null ? Logger.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)LoggingLevel; hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); return(hashCode); } }