Class DefaultSocialLogger
This class corresponds to the default logger used by Episerver's Social platform. Note that out of the box this logger does nothing.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Social.Common
Assembly: EPiServer.Social.Common.dll
Version: 1.5.4Syntax
public class DefaultSocialLogger : ISocialLogger
Constructors
DefaultSocialLogger()
Declaration
public DefaultSocialLogger()
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 | Log message with optional placeholder |
| System.Object[] | args | Optional placeholder parameters |
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 | Log message with optional placeholder |
| System.Object[] | args | Optional placeholder parameters |
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 |