Shorthand for GetLogger(string).
Namespace: log4netAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public static ILog GetLogger(
Assembly repositoryAssembly,
Type type
)
public static ILog GetLogger(
Assembly repositoryAssembly,
Type type
)
Public Shared Function GetLogger (
repositoryAssembly As Assembly,
type As Type
) As ILog
Public Shared Function GetLogger (
repositoryAssembly As Assembly,
type As Type
) As ILog
public:
static ILog^ GetLogger(
Assembly^ repositoryAssembly,
Type^ type
)
public:
static ILog^ GetLogger(
Assembly^ repositoryAssembly,
Type^ type
)
Parameters
- repositoryAssembly
- Type: System.Reflection Assembly
The assembly to use to lookup the repository.
- type
- Type: System Type
The full name of type will be used as the name of the logger to retrieve.
Return Value
Type:
ILogThe logger with the name specified.
Gets the logger for the fully qualified name of the type specified.