EventLogLogger Klasa

Definicja

Przestroga

This type is obsolete and will be removed in a future version. The recommended alternative is using EventLogLoggerProvider to construct loggers.

Rejestrator, który zapisuje komunikaty w dzienniku zdarzeń systemu Windows.

public ref class EventLogLogger : Microsoft::Extensions::Logging::ILogger
public class EventLogLogger : Microsoft.Extensions.Logging.ILogger
[System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is using EventLogLoggerProvider to construct loggers.")]
public class EventLogLogger : Microsoft.Extensions.Logging.ILogger
type EventLogLogger = class
    interface ILogger
[<System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is using EventLogLoggerProvider to construct loggers.")>]
type EventLogLogger = class
    interface ILogger
Public Class EventLogLogger
Implements ILogger
Dziedziczenie
EventLogLogger
Atrybuty
Implementuje

Konstruktory

EventLogLogger(String)
Przestarzałe.

Inicjuje nowe wystąpienie klasy EventLogLogger.

EventLogLogger(String, EventLogSettings)
Przestarzałe.

Inicjuje nowe wystąpienie klasy EventLogLogger.

EventLogLogger(String, EventLogSettings, IExternalScopeProvider)
Przestarzałe.

Inicjuje nowe wystąpienie klasy EventLogLogger.

Właściwości

EventLog
Przestarzałe.

Pobiera dziennik zdarzeń.

Metody

BeginScope<TState>(TState)
Przestarzałe.

Rozpoczyna zakres operacji logicznych.

Equals(Object)
Przestarzałe.

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
GetHashCode()
Przestarzałe.

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetType()
Przestarzałe.

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
IsEnabled(LogLevel)
Przestarzałe.

Sprawdza, czy dana logLevel wartość jest włączona.

Log<TState>(LogLevel, EventId, TState, Exception, Func<TState,Exception,String>)
Przestarzałe.

Zapisuje wpis dziennika.

MemberwiseClone()
Przestarzałe.

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ToString()
Przestarzałe.

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Metody rozszerzania

BeginScope(ILogger, String, Object[])
Przestarzałe.

Formatuje komunikat i tworzy zakres.

Log(ILogger, LogLevel, EventId, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

Log(ILogger, LogLevel, EventId, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

Log(ILogger, LogLevel, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

Log(ILogger, LogLevel, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika na określonym poziomie dziennika.

LogCritical(ILogger, EventId, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika krytycznego.

LogCritical(ILogger, EventId, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika krytycznego.

LogCritical(ILogger, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika krytycznego.

LogCritical(ILogger, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika krytycznego.

LogDebug(ILogger, EventId, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika debugowania.

LogDebug(ILogger, EventId, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika debugowania.

LogDebug(ILogger, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika debugowania.

LogDebug(ILogger, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika debugowania.

LogError(ILogger, EventId, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika błędów.

LogError(ILogger, EventId, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika błędów.

LogError(ILogger, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika błędów.

LogError(ILogger, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika błędów.

LogInformation(ILogger, EventId, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogInformation(ILogger, EventId, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogInformation(ILogger, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogInformation(ILogger, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika informacyjnego.

LogTrace(ILogger, EventId, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika śledzenia.

LogTrace(ILogger, EventId, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika śledzenia.

LogTrace(ILogger, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika śledzenia.

LogTrace(ILogger, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika śledzenia.

LogWarning(ILogger, EventId, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika ostrzeżenia.

LogWarning(ILogger, EventId, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika ostrzeżenia.

LogWarning(ILogger, Exception, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika ostrzeżenia.

LogWarning(ILogger, String, Object[])
Przestarzałe.

Formatuje i zapisuje komunikat dziennika ostrzeżenia.

Dotyczy