Method LogIfThrows
LogIfThrows(IFluentLog, LogLevel, string, Action)
Declaration
public static void LogIfThrows(this IFluentLog logger, LogLevel level, string message, Action block)
Parameters
LogIfThrows(IFluentLog, LogLevel, string, Func<Task>)
Declaration
public static Task LogIfThrows(this IFluentLog logger, LogLevel level, string message, Func<Task> block)
Parameters
Returns
LogIfThrows<T>(IFluentLog, LogLevel, string, Func<Task<T>>)
Declaration
public static Task<T> LogIfThrows<T>(this IFluentLog logger, LogLevel level, string message, Func<Task<T>> block)
Parameters
Returns
Type Parameters