SqlClientLogger.LogWarning(String, String, String) Method

Definition

Logs warning through a specified method of the current instance type.

C#
public void LogWarning (string type, string method, string message);

Parameters

type
String

The type to be logged.

method
String

The logging method.

message
String

The message to be logged.

Applies to

Produkt Verzie
SqlClient .NET Core 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 4.0, 4.1, 5.0, 5.1, 5.2