ConsoleLoggerExtensions 클래스

정의

ILoggingBuilderILoggerProviderConfiguration<T> 클래스에 대한 확장 메서드를 제공합니다.

public ref class ConsoleLoggerExtensions abstract sealed
public static class ConsoleLoggerExtensions
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static class ConsoleLoggerExtensions
type ConsoleLoggerExtensions = class
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type ConsoleLoggerExtensions = class
Public Module ConsoleLoggerExtensions
상속
ConsoleLoggerExtensions
특성

메서드

AddConsole(ILoggingBuilder)

‘Console’이라는 콘솔 로거를 팩터리에 추가합니다.

AddConsole(ILoggingBuilder, Action<ConsoleLoggerOptions>)

‘Console’이라는 콘솔 로거를 팩터리에 추가합니다.

AddConsoleFormatter<TFormatter,TOptions>(ILoggingBuilder)

사용자 지정 콘솔 로거 포맷터를 추가합니다.

AddConsoleFormatter<TFormatter,TOptions>(ILoggingBuilder, Action<TOptions>)

지정된 옵션으로 구성할 사용자 지정 콘솔 로거 포맷터를 추가합니다.

AddJsonConsole(ILoggingBuilder)

기본 속성을 사용하여 ‘json’이라는 콘솔 로그 포맷터를 팩터리에 추가합니다.

AddJsonConsole(ILoggingBuilder, Action<JsonConsoleFormatterOptions>)

지정된 Json 콘솔 포맷터 옵션으로 구성된 팩터리에 'json'이라는 콘솔 로그 포맷터를 추가합니다.

AddSimpleConsole(ILoggingBuilder)

기본 속성을 사용하여 ‘simple’이라는 기본 콘솔 로그 포맷터를 팩터리에 추가합니다.

AddSimpleConsole(ILoggingBuilder, Action<SimpleConsoleFormatterOptions>)

지정된 simple 콘솔 포맷터 옵션으로 구성된 팩터리에 ‘simple’이라는 콘솔 로그 포맷터를 추가합니다.

AddSystemdConsole(ILoggingBuilder)

기본 속성을 사용하여 ‘systemd’라는 콘솔 로그 포맷터를 팩터리에 추가합니다.

AddSystemdConsole(ILoggingBuilder, Action<ConsoleFormatterOptions>)

지정된 콘솔 포맷터 옵션으로 구성된 팩터리에 ‘systemd’라는 콘솔 로그 포맷터를 추가합니다.

적용 대상