LogManager GetLogger Method (String, Type)Apache log4net™ SDK Documentation
Shorthand for GetLogger(string).

Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static ILog GetLogger(
	string repository,
	Type type
)

Parameters

repository
Type: OnlineSystem String
The repository to lookup in.
type
Type: OnlineSystem Type
The full name of type will be used as the name of the logger to retrieve.

Return Value

Type: ILog
The logger with the name specified.
Remarks

Gets the logger for the fully qualified name of the type specified.
See Also