public static void CollationFound( [NotNull] this IDiagnosticsLogger <DbLoggerCategory.Scaffolding> diagnostics, [NotNull] string schema, [NotNull] string collationName, [NotNull] string lcCollate, [NotNull] string lcCtype, [NotNull] string provider, bool deterministic) { var definition = NpgsqlResources.LogFoundCollation(diagnostics); if (diagnostics.ShouldLog(definition)) { definition.Log( diagnostics, l => l.LogDebug( definition.EventId, null, definition.MessageFormat, collationName, schema, lcCollate, lcCtype, provider, deterministic)); } // No DiagnosticsSource events because these are purely design-time messages }
public static void CollationFound( this IDiagnosticsLogger <DbLoggerCategory.Scaffolding> diagnostics, string schema, string collationName, string lcCollate, string lcCtype, string?provider, bool deterministic) { var definition = NpgsqlResources.LogFoundCollation(diagnostics); if (diagnostics.ShouldLog(definition)) { definition.Log(diagnostics, collationName, schema, lcCollate, lcCtype, provider, deterministic); } // No DiagnosticsSource events because these are purely design-time messages }