Skip to main content

ILogTrace

When implemented will log as TRACE otherwise as DEBUG

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

Properties

IsTraceEnabled

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

View Source
Declaration
bool IsTraceEnabled { get; }

Methods

Trace(Object)

Logs a Trace message.

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

|

Trace(Object, Exception)

Logs a Trace message and exception.

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

| | System.Exception | exception | The exception.

|

TraceFormat(String, Object[])

Logs a Trace format message.

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

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

|