GetLogger Method
GetLogger<T>()
Creates a new ILogger instance using the full name of the given type.
C#
public static ILogger GetLogger<T>()
Returns
The ILogger that was created.
Type Parameters
Name | Description |
---|---|
T | The type. |
GetLogger(string)
Creates a new ILogger instance using the full name of the given type
.
C#
public static ILogger GetLogger(string categoryName)
Parameters
Type | Name | Description |
---|---|---|
string | categoryName |
Returns
The ILogger that was created.
GetLogger()
C#
[Obsolete("Obsolete, use equivalent ILogger method, or view the changelog for further instruction.")]
public static Logger GetLogger()