NetCoreLog
Assembly: ServiceStack.dll
View Source
Declaration
public class NetCoreLog : object, ILog, ILogTrace
Properties
Log
View Source
Declaration
public ILogger Log { get; }
IsTraceEnabled
View Source
Declaration
public bool IsTraceEnabled { get; }
IsDebugEnabled
View Source
Declaration
public bool IsDebugEnabled { get; }
Methods
Trace(Object)
View Source
Declaration
public void Trace(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Trace(Object, Exception)
View Source
Declaration
public void Trace(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
Exception | exception |
TraceFormat(String, Object[])
View Source
Declaration
public void TraceFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |
Debug(Object)
View Source
Declaration
public void Debug(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Debug(Object, Exception)
View Source
Declaration
public void Debug(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
Exception | exception |
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)
View Source
Declaration
public void Error(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Error(Object, Exception)
View Source
Declaration
public void Error(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
Exception | exception |
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)
View Source
Declaration
public void Fatal(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Fatal(Object, Exception)
View Source
Declaration
public void Fatal(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
Exception | exception |
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)
View Source
Declaration
public void Info(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Info(Object, Exception)
View Source
Declaration
public void Info(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
Exception | exception |
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)
View Source
Declaration
public void Warn(object message)
Parameters
Type | Name |
---|---|
System.Object | message |
Warn(Object, Exception)
View Source
Declaration
public void Warn(object message, Exception exception)
Parameters
Type | Name |
---|---|
System.Object | message |
Exception | exception |
WarnFormat(String, Object[])
View Source
Declaration
public void WarnFormat(string format, params object[] args)
Parameters
Type | Name |
---|---|
System.String | format |
System.Object[] | args |