LoggerManager.CreateLogger
Contents
[
Hide
]CreateLogger(string, Appender)
Creates a logger with specified name and appender.
public static Logger CreateLogger(string name, Appender appender)
Parameter | Type | Description |
---|---|---|
name | String | The logger name. |
appender | Appender | The appender. |
Return Value
The created logger.
See Also
- class Logger
- class Appender
- class LoggerManager
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
CreateLogger(string, params Appender[])
Creates a logger with specified name and appender.
public static Logger CreateLogger(string name, params Appender[] appenders)
Parameter | Type | Description |
---|---|---|
name | String | The logger name. |
appenders | Appender[] | The appender. |
Return Value
The created logger.
See Also
- class Logger
- class Appender
- class LoggerManager
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
CreateLogger(string, LogLevel, Appender)
Creates a logger with specified name and appender.
public static Logger CreateLogger(string name, LogLevel severity, Appender appender)
Parameter | Type | Description |
---|---|---|
name | String | The logger name. |
severity | LogLevel | The severity. |
appender | Appender | The appender. |
Return Value
The created logger.
See Also
- class Logger
- class LogLevel
- class Appender
- class LoggerManager
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
CreateLogger(string, LogLevel, params Appender[])
Creates a logger with specified name and appender.
public static Logger CreateLogger(string name, LogLevel severity, params Appender[] appenders)
Parameter | Type | Description |
---|---|---|
name | String | The logger name. |
severity | LogLevel | The severity. |
appenders | Appender[] | The appenders array. |
Return Value
The created logger.
See Also
- class Logger
- class LogLevel
- class Appender
- class LoggerManager
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email