Skip to main content

LogUtils

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
public static class LogUtils

Methods​

IsTraceEnabled(ILog)​

View Source​
Declaration
public static bool IsTraceEnabled(this ILog log)
Returns​

System.Boolean

Parameters​
TypeName
ServiceStack.Logging.ILoglog

Trace(ILog, Object)​

View Source​
Declaration
public static void Trace(this ILog log, object message)
Parameters​
TypeName
ServiceStack.Logging.ILoglog
System.Objectmessage

Trace(ILog, Object, Exception)​

View Source​
Declaration
public static void Trace(this ILog log, object message, Exception exception)
Parameters​
TypeName
ServiceStack.Logging.ILoglog
System.Objectmessage
System.Exceptionexception

TraceFormat(ILog, String, Object[])​

View Source​
Declaration
public static void TraceFormat(this ILog log, string format, params object[] args)
Parameters​
TypeName
ServiceStack.Logging.ILoglog
System.Stringformat
System.Object[]args