Class LogToConsole
- Namespace
- Common.Log
- Assembly
- Lykke.Common.dll
[Obsolete("Use new logging system and call logging.AddLykkeConsole() in startup")]
public class LogToConsole : ILog, IConsole
- Inheritance
-
LogToConsole
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
LogToConsole()
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
WriteLine(string)
public void WriteLine(string line)
Parameters
line
string
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