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

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

public static ILogger GetLogger(
	Assembly repositoryAssembly,
	Type type
)

Parameters

repositoryAssembly
Type: OnlineSystem.Reflection Assembly
the assembly to use to lookup the repository
type
Type: OnlineSystem Type
The type of which the fullname will be used as the name of the logger to retrieve.

Return Value

Type: ILogger
The logger with the name specified.
Remarks

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

See Also