Class EpiLogger

This class corresponds to a logger that uses the Episerver logging infrastructure for logging messages.

Inheritance
System.Object
EpiLogger
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.ActivityStreams.Site
Assembly: EPiServer.Social.ActivityStreams.Site.dll
Version: 1.5.4
Syntax
public class EpiLogger : ISocialLogger

Constructors

EpiLogger(ILogger)

Constructor

Declaration
public EpiLogger(ILogger epiLogger)
Parameters
Type Name Description
EPiServer.Logging.ILogger epiLogger

An Episerver ILogger instance

Methods

Critical(String, Object[])

Logs a critical message to the underlying log.

Declaration
public void Critical(string messageFormat, params object[] args)
Parameters
Type Name Description
System.String messageFormat
System.Object[] args

Debug(String, Object[])

Logs a debug message to the underlying log.

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

Log message with optional placeholder

System.Object[] args

Optional placeholder parameters

Error(String, Object[])

Logs an error message to the underlying log.

Declaration
public void Error(string messageFormat, params object[] args)
Parameters
Type Name Description
System.String messageFormat
System.Object[] args

Information(String, Object[])

Logs an informational message to the underlying log.

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

Log message with optional placeholder

System.Object[] args

Optional placeholder parameters

Trace(String, Object[])

Logs a trace message to the underlying log.

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

Log message with optional placeholder

System.Object[] args

Optional placeholder parameters

Warning(String, Object[])

Logs a warning message to the underlying log.

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

Log message with optional placeholder

System.Object[] args

Optional placeholder parameters

Implements

arrow_upward