Inheritance
System.Object
PerformanceLogger<TComponent>
Namespace:InfinniPlatform.Logging
Assembly:InfinniPlatform.Core.dll
public class PerformanceLogger<TComponent> : object, IPerformanceLogger<TComponent>, IPerformanceLogger
Type Parameters
Name |
Description |
TComponent |
|
Constructors
|
Improve this Doc
View Source
Declaration
public PerformanceLogger(ILogger<IPerformanceLogger<TComponent>> logger)
Parameters
Methods
|
Improve this Doc
View Source
Declaration
public void Log(string method, DateTime start, Exception exception = null)
Parameters
Type |
Name |
Description |
System.String |
method |
|
DateTime |
start |
|
Exception |
exception |
|
|
Improve this Doc
View Source
Declaration
public void Log(string method, TimeSpan duration, Exception exception = null)
Parameters
Type |
Name |
Description |
System.String |
method |
|
TimeSpan |
duration |
|
Exception |
exception |
|
Extension Methods