ConnectionExtensions.GetLogger method

namespace: Serenity.Data   assemblySerenity.Net.Data

Gets the logger for a connection if it implements IHasLogger interface, or null if not.

public static ILogger GetLogger(this IDbConnection connection)
parameter description
connection The connection.

Return Value

The logger for connection (used by static SqlHelper methods)

See Also