Delegate LoggerCallback
Represent a method that will handle all Logs produced by a Database instance.
Namespace: Venflow
Assembly: Venflow.dll
Syntax
public delegate void LoggerCallback(NpgsqlCommand command, CommandType commandType, Exception? exception);
Parameters
Type | Name | Description |
---|---|---|
NpgsqlCommand | command | The command which produced the log. |
CommandType | commandType | The command type which produced the log. |
Nullable<Exception> | exception | The exception occurred while trying to execute the command, if any occurred. |