Skip to main content

InMemoryLog

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class InMemoryLog : ILog

Properties

LoggerName

View Source
Declaration
public string LoggerName { get; }

CombinedLog

View Source
Declaration
public StringBuilder CombinedLog { get; }

DebugEntries

View Source
Declaration
public List<string> DebugEntries { get; set; }

DebugExceptions

View Source
Declaration
public List<Exception> DebugExceptions { get; set; }

InfoEntries

View Source
Declaration
public List<string> InfoEntries { get; set; }

InfoExceptions

View Source
Declaration
public List<Exception> InfoExceptions { get; set; }

WarnEntries

View Source
Declaration
public List<string> WarnEntries { get; set; }

WarnExceptions

View Source
Declaration
public List<Exception> WarnExceptions { get; set; }

ErrorEntries

View Source
Declaration
public List<string> ErrorEntries { get; set; }

ErrorExceptions

View Source
Declaration
public List<Exception> ErrorExceptions { get; set; }

FatalEntries

View Source
Declaration
public List<string> FatalEntries { get; set; }

FatalExceptions

View Source
Declaration
public List<Exception> FatalExceptions { get; set; }

HasExceptions

View Source
Declaration
public bool HasExceptions { get; }

IsDebugEnabled

View Source
Declaration
public bool IsDebugEnabled { get; set; }

Methods

Debug(Object)

View Source
Declaration
public void Debug(object message)
Parameters
TypeName
System.Objectmessage

Debug(Object, Exception)

View Source
Declaration
public void Debug(object message, Exception exception)
Parameters
TypeName
System.Objectmessage
System.Exceptionexception

DebugFormat(String, Object[])

View Source
Declaration
public void DebugFormat(string format, params object[] args)
Parameters
TypeName
System.Stringformat
System.Object[]args

Error(Object)

View Source
Declaration
public void Error(object message)
Parameters
TypeName
System.Objectmessage

Error(Object, Exception)

View Source
Declaration
public void Error(object message, Exception exception)
Parameters
TypeName
System.Objectmessage
System.Exceptionexception

ErrorFormat(String, Object[])

View Source
Declaration
public void ErrorFormat(string format, params object[] args)
Parameters
TypeName
System.Stringformat
System.Object[]args

Fatal(Object)

View Source
Declaration
public void Fatal(object message)
Parameters
TypeName
System.Objectmessage

Fatal(Object, Exception)

View Source
Declaration
public void Fatal(object message, Exception exception)
Parameters
TypeName
System.Objectmessage
System.Exceptionexception

FatalFormat(String, Object[])

View Source
Declaration
public void FatalFormat(string format, params object[] args)
Parameters
TypeName
System.Stringformat
System.Object[]args

Info(Object)

View Source
Declaration
public void Info(object message)
Parameters
TypeName
System.Objectmessage

Info(Object, Exception)

View Source
Declaration
public void Info(object message, Exception exception)
Parameters
TypeName
System.Objectmessage
System.Exceptionexception

InfoFormat(String, Object[])

View Source
Declaration
public void InfoFormat(string format, params object[] args)
Parameters
TypeName
System.Stringformat
System.Object[]args

Warn(Object)

View Source
Declaration
public void Warn(object message)
Parameters
TypeName
System.Objectmessage

Warn(Object, Exception)

View Source
Declaration
public void Warn(object message, Exception exception)
Parameters
TypeName
System.Objectmessage
System.Exceptionexception

WarnFormat(String, Object[])

View Source
Declaration
public void WarnFormat(string format, params object[] args)
Parameters
TypeName
System.Stringformat
System.Object[]args

Implements