Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class LogExtensions

Extension methods when working with log

Inheritance
System.Object
LogExtensions
Namespace: Mediachase.Commerce.Extensions
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public static class LogExtensions : Object

Methods

DebugBeginMethod(ILogger, String, Object[])

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