LoggerManagerCreateLogger Method (String, LogLevel, Appender) |
Creates a logger with specified name and appender.
Namespace:
Aspose.Email.Tools.Logging
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public static Logger CreateLogger(
string name,
LogLevel severity,
Appender appender
)
Public Shared Function CreateLogger (
name As String,
severity As LogLevel,
appender As Appender
) As Logger
public:
static Logger^ CreateLogger(
String^ name,
LogLevel^ severity,
Appender^ appender
)
static member CreateLogger :
name : string *
severity : LogLevel *
appender : Appender -> Logger
Parameters
- name
- Type: SystemString
The logger name. - severity
- Type: Aspose.Email.Tools.LoggingLogLevel
The severity. - appender
- Type: Aspose.Email.Tools.LoggingAppender
The appender.
Return Value
Type:
LoggerThe created logger.
See Also