Table of Contents

Class EmptyLog

Namespace
Common.Log
Assembly
Lykke.Common.dll

Log that do nothing

[Obsolete("Use Lykke.Logs.EmptyLogFactory.Instance")]
public class EmptyLog : ILog
Inheritance
EmptyLog
Implements
Inherited Members
Extension Methods

Constructors

EmptyLog()

public EmptyLog()

Properties

Instance

public static EmptyLog Instance { get; }

Property Value

EmptyLog

Methods

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