Class ApplicationLogging
Helper class for logging all actions in the LemonEdge platform
Inheritance
ApplicationLogging
Assembly: LemonEdge.Utils.dll
Syntax
public static class ApplicationLogging
Properties
LoggerFactory
Declaration
public static ILoggerFactory LoggerFactory { get; set; }
Property Value
Methods
CreateLogger(Type)
Declaration
public static ILogger CreateLogger(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
CreateLogger<T>()
Creates an instance of a logger for logging application details
Declaration
public static ILogger<T> CreateLogger<T>()
Returns
Type |
Description |
ILogger<T> |
A new ILogger for logging with
|
Type Parameters
Name |
Description |
T |
The type the logger is active agaisnt
|
Declaration
public static IPerformanceLogger CreatePerformanceLogger(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
Declaration
public static IPerformanceLogger CreatePerformanceLogger(Type type, string name = "")
Parameters
Returns
Declaration
public static IPerformanceLogger CreatePerformanceLogger<T>(string name = "")
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
Type Parameters