Shorthand for GetLogger(string).
Namespace: log4netAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public static ILog GetLogger(
string repository,
Type type
)
public static ILog GetLogger(
string repository,
Type type
)
Public Shared Function GetLogger (
repository As String,
type As Type
) As ILog
Public Shared Function GetLogger (
repository As String,
type As Type
) As ILog
public:
static ILog^ GetLogger(
String^ repository,
Type^ type
)
public:
static ILog^ GetLogger(
String^ repository,
Type^ type
)
Parameters
- repository
- Type: System String
The repository to lookup in.
- 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.