Method WithLogAction
WithLogAction(IFluentLog, Action<(FluentLogLevel Level, string Message, string Prefix, string Suffix, Exception Exception)>)
Declaration
public static IFluentLog WithLogAction(this IFluentLog log, Action<(FluentLogLevel Level, string Message, string Prefix, string Suffix, Exception Exception)> messageConsumer)
Parameters
Type | Name | Description |
---|---|---|
IFluentLog | log | |
Action<(FluentLogLevel Level, string Message, string Prefix, string Suffix, Exception Exception)> | messageConsumer |
Returns
Type | Description |
---|---|
IFluentLog |