CreateLogger

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


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


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


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