Show / Hide Table of Contents

Class Log73Logger

Inheritance
System.Object
Log73Logger
Namespace: Log73.Extensions.Logging
Assembly: Log73.Extensions.Logging.dll
Syntax
public class Log73Logger : ILogger

Constructors

| Improve this Doc View Source

Log73Logger(String, Log73LoggerConfiguration)

Declaration
public Log73Logger(string name, Log73LoggerConfiguration config)
Parameters
Type Name Description
System.String name
Log73LoggerConfiguration config

Fields

| Improve this Doc View Source

Name

The name for this logger.

Declaration
public readonly string Name
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

Config

The configuration for this Log73Logger.

Declaration
public Log73LoggerConfiguration Config { get; set; }
Property Value
Type Description
Log73LoggerConfiguration

Methods

| Improve this Doc View Source

BeginScope<TState>(TState)

Declaration
public IDisposable BeginScope<TState>(TState state)
Parameters
Type Name Description
TState state
Returns
Type Description
IDisposable
Type Parameters
Name Description
TState
| Improve this Doc View Source

IsEnabled(Microsoft.Extensions.Logging.LogLevel)

If the message should be logged under the current configuration's LogLevel.

Declaration
public bool IsEnabled(Microsoft.Extensions.Logging.LogLevel logLevel)
Parameters
Type Name Description
Microsoft.Extensions.Logging.LogLevel logLevel
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Log<TState>(Microsoft.Extensions.Logging.LogLevel, EventId, TState, Exception, Func<TState, Exception, String>)

Declaration
public void Log<TState>(Microsoft.Extensions.Logging.LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
Parameters
Type Name Description
Microsoft.Extensions.Logging.LogLevel logLevel
EventId eventId
TState state
Exception exception
Func<TState, Exception, System.String> formatter
Type Parameters
Name Description
TState

Extension Methods

DumpExtensionMethods.Dump(Object)
DumpExtensionMethods.DumpInfo(Object)
DumpExtensionMethods.DumpWarn(Object)
DumpExtensionMethods.DumpError(Object)
DumpExtensionMethods.DumpDebug(Object)
SerializeExtensionMethods.SerializeAsXml(Object)
SerializeExtensionMethods.SerializeAsXml(Object, XmlWriterSettings)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX