SaaS CMS has officially launched! Learn more now.

Class LogExtensions

Extension methods when working with log

Inheritance
System.Object
LogExtensions
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: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 11.8.3
Syntax
public static class LogExtensions

Methods

DebugBeginMethod(ILogger, String, Object[])

If debugging is enabled, write a debug message to the log containing information about how a method was called.

Declaration
public static void DebugBeginMethod(this ILogger logger, string methodName, params object[] parameters)
Parameters
Type Name Description
EPiServer.Logging.ILogger logger

The object this method extends

System.String methodName

The name of the method that was just called

System.Object[] parameters

The parameters supplied to the called method