namespace: Serenity.Data assembly: Serenity.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. |
The logger for connection (used by static SqlHelper methods)
- class ConnectionExtensions