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

Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public static ILog GetLogger(
	Assembly repositoryAssembly,
	Type type
)

Parameters

repositoryAssembly
Type: System.ReflectionAssembly
The assembly to use to lookup the repository.
type
Type: SystemType
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

Reference