Method CreateLogger
CreateLogger(string)
Creates a logger with a given category name.
public static ILogger CreateLogger(string name)
Parameters
namestring
Returns
CreateLogger<T>()
Creates a logger with the full name of the given type as category name.
public static ILogger<T> CreateLogger<T>()
Returns
- ILogger<T>
Type Parameters
T