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
Type | Name |
---|---|
System.Object | message |
Debug(Object, Exception)
View Source
Declaration
public void Debug(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
DebugFormat(String, Object[])
View Source
Declaration
public void DebugFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |
Error(Object)
View Source
Declaration
public void Error(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Error(Object, Exception)
View Source
Declaration
public void Error(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
ErrorFormat(String, Object[])
View Source
Declaration
public void ErrorFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |
Fatal(Object)
View Source
Declaration
public void Fatal(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Fatal(Object, Exception)
View Source
Declaration
public void Fatal(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
FatalFormat(String, Object[])
View Source
Declaration
public void FatalFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |
Info(Object)
View Source
Declaration
public void Info(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Info(Object, Exception)
View Source
Declaration
public void Info(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
InfoFormat(String, Object[])
View Source
Declaration
public void InfoFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |
Warn(Object)
View Source
Declaration
public void Warn(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Warn(Object, Exception)
View Source
Declaration
public void Warn(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
WarnFormat(String, Object[])
View Source
Declaration
public void WarnFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |