Class LogManager
Manager class that returns the correct instance of the logger managed by code factory.
Inherited Members
Namespace: CodeFactory.WinVs.Logging
Assembly: CodeFactory.WinVs.dll
Syntax
public static class LogManager
Methods
GetLogger(Type)
Loads the target logger instance.
Declaration
public static ILogger GetLogger(Type loggerType)
Parameters
Type | Name | Description |
---|---|---|
Type | loggerType | The type the logger will support. |
Returns
Type | Description |
---|---|
ILogger | Instance of the target code factory logger. |
GetLogger<T>()
Loads the target logger instance.
Declaration
public static ILogger GetLogger<T>() where T : class
Returns
Type | Description |
---|---|
ILogger | Instance of the target code factory logger. |
Type Parameters
Name | Description |
---|---|
T | The target class type to be logged. |