ConsoleLoggerOptions.Format 属性

定义

注意

ConsoleLoggerOptions.Format has been deprecated. Use ConsoleLoggerOptions.FormatterName instead.

获取或设置日志消息格式。

public:
 property Microsoft::Extensions::Logging::Console::ConsoleLoggerFormat Format { Microsoft::Extensions::Logging::Console::ConsoleLoggerFormat get(); void set(Microsoft::Extensions::Logging::Console::ConsoleLoggerFormat value); };
[System.Obsolete("ConsoleLoggerOptions.Format has been deprecated. Use ConsoleLoggerOptions.FormatterName instead.")]
public Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat Format { get; set; }
[<System.Obsolete("ConsoleLoggerOptions.Format has been deprecated. Use ConsoleLoggerOptions.FormatterName instead.")>]
member this.Format : Microsoft.Extensions.Logging.Console.ConsoleLoggerFormat with get, set
Public Property Format As ConsoleLoggerFormat

属性值

默认为 Default

属性

适用于