LoggerManager.CreateLogger

CreateLogger(string, Appender)

Creates a logger with specified name and appender.

public static Logger CreateLogger(string name, Appender appender)
ParameterTypeDescription
nameStringThe logger name.
appenderAppenderThe appender.

Return Value

The created logger.

See Also


CreateLogger(string, params Appender[])

Creates a logger with specified name and appender.

public static Logger CreateLogger(string name, params Appender[] appenders)
ParameterTypeDescription
nameStringThe logger name.
appendersAppender[]The appender.

Return Value

The created logger.

See Also


CreateLogger(string, LogLevel, Appender)

Creates a logger with specified name and appender.

public static Logger CreateLogger(string name, LogLevel severity, Appender appender)
ParameterTypeDescription
nameStringThe logger name.
severityLogLevelThe severity.
appenderAppenderThe appender.

Return Value

The created logger.

See Also


CreateLogger(string, LogLevel, params Appender[])

Creates a logger with specified name and appender.

public static Logger CreateLogger(string name, LogLevel severity, params Appender[] appenders)
ParameterTypeDescription
nameStringThe logger name.
severityLogLevelThe severity.
appendersAppender[]The appenders array.

Return Value

The created logger.

See Also