Table of Contents

Class LogToMemory

Namespace
Common.Log
Assembly
Lykke.Common.dll
[Obsolete("Use new logging system and call logging.AddGuiTable() in startup")]
public class LogToMemory : ILog, IGuiTable
Inheritance
LogToMemory
Implements
Inherited Members
Extension Methods

Constructors

LogToMemory()

public LogToMemory()

Properties

Count

public int Count { get; }

Property Value

int

TableData

public GuiTableData TableData { get; }

Property Value

GuiTableData

Methods

Clear()

public void Clear()

WriteErrorAsync(string, string, Exception, DateTime?)

public Task WriteErrorAsync(string process, string context, Exception exception, DateTime? dateTime = null)

Parameters

process string
context string
exception Exception
dateTime DateTime?

Returns

Task

WriteErrorAsync(string, string, string, Exception, DateTime?)

public Task WriteErrorAsync(string component, string process, string context, Exception exception, DateTime? dateTime = null)

Parameters

component string
process string
context string
exception Exception
dateTime DateTime?

Returns

Task

WriteFatalErrorAsync(string, string, Exception, DateTime?)

public Task WriteFatalErrorAsync(string process, string context, Exception exception, DateTime? dateTime = null)

Parameters

process string
context string
exception Exception
dateTime DateTime?

Returns

Task

WriteFatalErrorAsync(string, string, string, Exception, DateTime?)

public Task WriteFatalErrorAsync(string component, string process, string context, Exception exception, DateTime? dateTime = null)

Parameters

component string
process string
context string
exception Exception
dateTime DateTime?

Returns

Task

WriteInfoAsync(string, string, string, DateTime?)

public Task WriteInfoAsync(string process, string context, string info, DateTime? dateTime = null)

Parameters

process string
context string
info string
dateTime DateTime?

Returns

Task

WriteInfoAsync(string, string, string, string, DateTime?)

public Task WriteInfoAsync(string component, string process, string context, string info, DateTime? dateTime = null)

Parameters

component string
process string
context string
info string
dateTime DateTime?

Returns

Task

WriteMonitorAsync(string, string, string, DateTime?)

public Task WriteMonitorAsync(string process, string context, string info, DateTime? dateTime = null)

Parameters

process string
context string
info string
dateTime DateTime?

Returns

Task

WriteMonitorAsync(string, string, string, string, DateTime?)

public Task WriteMonitorAsync(string component, string process, string context, string info, DateTime? dateTime = null)

Parameters

component string
process string
context string
info string
dateTime DateTime?

Returns

Task

WriteWarningAsync(string, string, string, Exception, DateTime?)

public Task WriteWarningAsync(string process, string context, string info, Exception ex, DateTime? dateTime = null)

Parameters

process string
context string
info string
ex Exception
dateTime DateTime?

Returns

Task

WriteWarningAsync(string, string, string, DateTime?)

public Task WriteWarningAsync(string process, string context, string info, DateTime? dateTime = null)

Parameters

process string
context string
info string
dateTime DateTime?

Returns

Task

WriteWarningAsync(string, string, string, string, Exception, DateTime?)

public Task WriteWarningAsync(string component, string process, string context, string info, Exception ex, DateTime? dateTime = null)

Parameters

component string
process string
context string
info string
ex Exception
dateTime DateTime?

Returns

Task

WriteWarningAsync(string, string, string, string, DateTime?)

public Task WriteWarningAsync(string component, string process, string context, string info, DateTime? dateTime = null)

Parameters

component string
process string
context string
info string
dateTime DateTime?

Returns

Task