Show / Hide Table of Contents

    Class LogStorage

    Inheritance
    Object
    LogStorage
    Implements
    ILogStorage
    Namespace: QFSW.QC
    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
    Type Description
    IReadOnlyList<ILog>

    MaxStoredLogs

    Declaration
    public int MaxStoredLogs { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    AddLog(ILog)

    Declaration
    public void AddLog(ILog log)
    Parameters
    Type Name Description
    ILog log

    Clear()

    Declaration
    public void Clear()

    GetLogString()

    Declaration
    public string GetLogString()
    Returns
    Type Description
    String

    RemoveLog()

    Declaration
    public void RemoveLog()

    Implements

    ILogStorage

    Extension Methods

    ArraySingleExtensions.AsArraySingle<T>(T)
    CollectionExtensions.Yield<T>(T)
    Quantum Console by QFSW
    Back to top