Show / Hide Table of Contents

Class ILoggerExtensions

Inheritance
object
ILoggerExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Microsoft.Extensions.Logging
Assembly: SoCore.dll
Syntax
public static class ILoggerExtensions

Methods

BeginScopeEnrichedWithEnvironment(ILogger, string, params object[])

Declaration
public static IDisposable BeginScopeEnrichedWithEnvironment(this ILogger logger, string message, params object[] args)
Parameters
Type Name Description
ILogger logger
string message
object[] args
Returns
Type Description
IDisposable

LogErrorEnrichedWithEnvironment(ILogger, Exception, string, params object[])

Declaration
public static void LogErrorEnrichedWithEnvironment(this ILogger logger, Exception exception, string message, params object[] args)
Parameters
Type Name Description
ILogger logger
Exception exception
string message
object[] args

LogWarningEnrichedWithEnvironment(ILogger, Exception, string, params object[])

Declaration
public static void LogWarningEnrichedWithEnvironment(this ILogger logger, Exception exception, string message, params object[] args)
Parameters
Type Name Description
ILogger logger
Exception exception
string message
object[] args
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top