CreateLogger

LoggerManager.CreateLogger method (1 of 4)

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


LoggerManager.CreateLogger method (2 of 4)

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


LoggerManager.CreateLogger method (3 of 4)

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


LoggerManager.CreateLogger method (4 of 4)

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