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
Type | Name | Description |
---|---|---|
System.Object | message | The message. |
|
Trace(Object, Exception)
Logs a Trace message and exception.
View Source
Declaration
void Trace(object message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Object | message | The 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
Type | Name | Description |
---|---|---|
System.String | format | The format. |
|
| System.Object[]
| args | The args.
|