ConsoleLogger Klasa

Definicja

Przestroga

This type is obsolete and will be removed in a future version. The recommended alternative is ConsoleLoggerProvider.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

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

Konstruktory

ConsoleLogger(String, Func<String,LogLevel,Boolean>, Boolean)
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

ConsoleLogger(String, Func<String,LogLevel,Boolean>, IExternalScopeProvider)
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

Właściwości

Console
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

DisableColors
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

Filter
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

IncludeScopes
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

Name
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

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 bieżące wystąpienie.

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

Sprawdza, czy dana wartość logLevel 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)
WriteMessage(LogLevel, String, Int32, String, Exception)
Przestarzałe.

Reprezentuje rejestrator, który zapisuje komunikaty w konsoli programu .

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 ostrzegawczego.

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

Formatuje i zapisuje komunikat dziennika ostrzegawczego.

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

Formatuje i zapisuje komunikat dziennika ostrzegawczego.

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

Formatuje i zapisuje komunikat dziennika ostrzegawczego.

Dotyczy