DiagnosticLogger Class

Summary

DiagnosticLogger. Implements the Microsoft.Extensions.Logging.ILogger
Assembly
Rocket.Surgery.Conventions.dll
Namespace
Rocket.Surgery.Conventions
Interfaces
  • ILogger
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ILogger"] Type["DiagnosticLogger"] class Type type-node

Syntax

public class DiagnosticLogger : ILogger

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
DiagnosticLogger(DiagnosticSource) Initializes a new instance of the DiagnosticLogger class.

Methods

Name Value Summary
BeginScope<TState>(TState) IDisposable
Begins a logical operation scope.
IsEnabled(LogLevel) bool
Checks if the given logLevel is enabled.
Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, string>) void
Writes a log entry.

Extension Methods

See Also

  • Microsoft.Extensions.Logging.ILogger