Show / Hide Table of Contents

Class AmbientServicesDebugLogExtensions

Extension methods for the IAmbientServices.

Inheritance
System.Object
AmbientServicesDebugLogExtensions
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.Diagnostics.Logging
Assembly: Kephas.Core.dll
Syntax
public static class AmbientServicesDebugLogExtensions

Methods

| Improve this Doc View Source

WithDebugLogManager(IAmbientServices, Action<String, String, Object, Exception>)

Sets the debug log manager to the ambient services.

Declaration
public static IAmbientServices WithDebugLogManager(this IAmbientServices ambientServices, Action<string, string, object, Exception> logCallback = null)
Parameters
Type Name Description
IAmbientServices ambientServices

The ambient services.

System.Action<System.String, System.String, System.Object, System.Exception> logCallback

Optional. The log callback.

Returns
Type Description
IAmbientServices

The provided ambient services builder.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX