Class LogStorage
Assembly: QFSW.QC.dll
Syntax
public class LogStorage : ILogStorage
Constructors
LogStorage(Int32)
Declaration
public LogStorage(int maxStoredLogs = -1)
Parameters
Type |
Name |
Description |
Int32 |
maxStoredLogs |
|
Properties
Logs
Declaration
public IReadOnlyList<ILog> Logs { get; }
Property Value
MaxStoredLogs
Declaration
public int MaxStoredLogs { get; set; }
Property Value
Methods
AddLog(ILog)
Declaration
public void AddLog(ILog log)
Parameters
Type |
Name |
Description |
ILog |
log |
|
Clear()
Declaration
GetLogString()
Declaration
public string GetLogString()
Returns
RemoveLog()
Declaration
Implements
Extension Methods