Show / Hide Table of Contents

Class Log

The logger adapter for ServiceStack.

Inheritance
System.Object
Log
Implements
ServiceStack.Logging.ILog
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.ServiceStack.Logging
Assembly: Kephas.ServiceStack.dll
Syntax
public class Log : ILog

Constructors

| Improve this Doc View Source

Log(ILogger)

Initializes a new instance of the Log class.

Declaration
public Log(ILogger logger)
Parameters
Type Name Description
ILogger logger

The logger.

Properties

| Improve this Doc View Source

IsDebugEnabled

Gets a value indicating whether the debug is enabled.

Declaration
public bool IsDebugEnabled { get; }
Property Value
Type Description
System.Boolean

true if the debug is enabled; otherwise, false.

Methods

| Improve this Doc View Source

Debug(Object)

Logs a Debug message.

Declaration
public void Debug(object message)
Parameters
Type Name Description
System.Object message

The message.

| Improve this Doc View Source

Debug(Object, Exception)

Logs a Debug message and exception.

Declaration
public void Debug(object message, Exception exception)
Parameters
Type Name Description
System.Object message

The message.

System.Exception exception

The exception.

| Improve this Doc View Source

DebugFormat(String, Object[])

Logs a Debug format message.

Declaration
public void DebugFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

The format.

System.Object[] args

The args.

| Improve this Doc View Source

Error(Object)

Logs an Error message.

Declaration
public void Error(object message)
Parameters
Type Name Description
System.Object message

The message.

| Improve this Doc View Source

Error(Object, Exception)

Logs an Error message and exception.

Declaration
public void Error(object message, Exception exception)
Parameters
Type Name Description
System.Object message

The message.

System.Exception exception

The exception.

| Improve this Doc View Source

ErrorFormat(String, Object[])

Logs an Error format message.

Declaration
public void ErrorFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

The format.

System.Object[] args

The args.

| Improve this Doc View Source

Fatal(Object)

Logs a Fatal message.

Declaration
public void Fatal(object message)
Parameters
Type Name Description
System.Object message

The message.

| Improve this Doc View Source

Fatal(Object, Exception)

Logs a Fatal message and exception.

Declaration
public void Fatal(object message, Exception exception)
Parameters
Type Name Description
System.Object message

The message.

System.Exception exception

The exception.

| Improve this Doc View Source

FatalFormat(String, Object[])

Logs a Error format message.

Declaration
public void FatalFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

The format.

System.Object[] args

The args.

| Improve this Doc View Source

Info(Object)

Logs an Info message and exception.

Declaration
public void Info(object message)
Parameters
Type Name Description
System.Object message

The message.

| Improve this Doc View Source

Info(Object, Exception)

Logs an Info message and exception.

Declaration
public void Info(object message, Exception exception)
Parameters
Type Name Description
System.Object message

The message.

System.Exception exception

The exception.

| Improve this Doc View Source

InfoFormat(String, Object[])

Logs an Info format message.

Declaration
public void InfoFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

The format.

System.Object[] args

The args.

| Improve this Doc View Source

Warn(Object)

Logs a Warning message.

Declaration
public void Warn(object message)
Parameters
Type Name Description
System.Object message

The message.

| Improve this Doc View Source

Warn(Object, Exception)

Logs a Warning message and exception.

Declaration
public void Warn(object message, Exception exception)
Parameters
Type Name Description
System.Object message

The message.

System.Exception exception

The exception.

| Improve this Doc View Source

WarnFormat(String, Object[])

Logs a Warning format message.

Declaration
public void WarnFormat(string format, params object[] args)
Parameters
Type Name Description
System.String format

The format.

System.Object[] args

The args.

Implements

ServiceStack.Logging.ILog

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX