Skip to main content

ILog

Logs a message in a running application

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface ILog

Properties

IsDebugEnabled

Gets or sets a value indicating whether this instance is debug enabled.

View Source
Declaration
bool IsDebugEnabled { get; }

Methods

Debug(Object)

Logs a Debug message.

View Source
Declaration
void Debug(object message)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

|

Debug(Object, Exception)

Logs a Debug message and exception.

View Source
Declaration
void Debug(object message, Exception exception)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

| | System.Exception | exception | The exception.

|

DebugFormat(String, Object[])

Logs a Debug format message.

View Source
Declaration
void DebugFormat(string format, params object[] args)
Parameters
TypeNameDescription
System.StringformatThe format.

| | System.Object[] | args | The args.

|

Error(Object)

Logs a Error message.

View Source
Declaration
void Error(object message)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

|

Error(Object, Exception)

Logs a Error message and exception.

View Source
Declaration
void Error(object message, Exception exception)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

| | System.Exception | exception | The exception.

|

ErrorFormat(String, Object[])

Logs a Error format message.

View Source
Declaration
void ErrorFormat(string format, params object[] args)
Parameters
TypeNameDescription
System.StringformatThe format.

| | System.Object[] | args | The args.

|

Fatal(Object)

Logs a Fatal message.

View Source
Declaration
void Fatal(object message)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

|

Fatal(Object, Exception)

Logs a Fatal message and exception.

View Source
Declaration
void Fatal(object message, Exception exception)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

| | System.Exception | exception | The exception.

|

FatalFormat(String, Object[])

Logs a Error format message.

View Source
Declaration
void FatalFormat(string format, params object[] args)
Parameters
TypeNameDescription
System.StringformatThe format.

| | System.Object[] | args | The args.

|

Info(Object)

Logs an Info message and exception.

View Source
Declaration
void Info(object message)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

|

Info(Object, Exception)

Logs an Info message and exception.

View Source
Declaration
void Info(object message, Exception exception)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

| | System.Exception | exception | The exception.

|

InfoFormat(String, Object[])

Logs an Info format message.

View Source
Declaration
void InfoFormat(string format, params object[] args)
Parameters
TypeNameDescription
System.StringformatThe format.

| | System.Object[] | args | The args.

|

Warn(Object)

Logs a Warning message.

View Source
Declaration
void Warn(object message)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

|

Warn(Object, Exception)

Logs a Warning message and exception.

View Source
Declaration
void Warn(object message, Exception exception)
Parameters
TypeNameDescription
System.ObjectmessageThe message.

| | System.Exception | exception | The exception.

|

WarnFormat(String, Object[])

Logs a Warning format message.

View Source
Declaration
void WarnFormat(string format, params object[] args)
Parameters
TypeNameDescription
System.StringformatThe format.

| | System.Object[] | args | The args.

|