MannsBlog.Data Namespace
MannsBlog.Services Namespace
MannsBlog.Services.DataProviders Namespace
MannsBlog

EmailLoggerExtensions..::..AddEmail Method (ILoggerFactory, IMailService, Func<(Of <(<'String, LogLevel, Boolean>)>)>)

Adds the email.

Namespace:  MannsBlog.Logger
Assembly:  MannsBlog (in MannsBlog.exe)

Syntax


public static ILoggerFactory AddEmail(
	ILoggerFactory factory,
	IMailService mailService,
	Func<string, LogLevel, bool> filter
)

Parameters

factory
Type: ILoggerFactory
The factory.
mailService
Type: MannsBlog.Services..::..IMailService
The mail service.
filter
Type: Func<(Of <(<'String, LogLevel, Boolean>)>)>
The filter.

Return Value

ILoggerFactory.