Show / Hide Table of Contents

Class LoggingExtensions

Static wrapper for extension methods related to logging. You should never have to refer directly to this class.

Inheritance
Object
LoggingExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetTransformers.Extensions
Assembly: MetricSetTransformers.dll
Syntax
public static class LoggingExtensions

Methods

View Source

AddTelemetryInitializer(TelemetryConfiguration, Guid)

Simple telemetry initializer which ensures that logs contain lots of useful diagnostic information.

Declaration
public static void AddTelemetryInitializer(this TelemetryConfiguration configure, Guid sessionId)
Parameters
Type Name Description
TelemetryConfiguration configure
Guid sessionId
View Source

Logger<T>(IServiceCollection)

Obtain an ILogger<TCategoryName> for T.

Declaration
public static ILogger Logger<T>(this IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services
Returns
Type Description
ILogger
Type Parameters
Name Description
T
  • View Source
Back to top Generated by DocFX