DebugLogger
Default logger is to System.Diagnostics.Debug.WriteLine
Made public so its testable
Assembly: ServiceStack.Common.dll
View Source
Declaration
public class DebugLogger : ILog
Properties
IsDebugEnabled
View Source
Declaration
public bool IsDebugEnabled { get; set; }
Methods
Debug(Object, Exception)
View Source
Declaration
public void Debug(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
Debug(Object)
View Source
Declaration
public void Debug(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
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, Exception)
View Source
Declaration
public void Error(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
Error(Object)
View Source
Declaration
public void Error(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
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, Exception)
View Source
Declaration
public void Fatal(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
Fatal(Object)
View Source
Declaration
public void Fatal(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
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, Exception)
View Source
Declaration
public void Info(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
Info(Object)
View Source
Declaration
public void Info(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
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, Exception)
View Source
Declaration
public void Warn(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
System.Exception | exception |
Warn(Object)
View Source
Declaration
public void Warn(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
WarnFormat(String, Object[])
View Source
Declaration
public void WarnFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |