JsonConsoleFormatterOptions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for the built-in JSON console log formatter.
public ref class JsonConsoleFormatterOptions : Microsoft::Extensions::Logging::Console::ConsoleFormatterOptions
public class JsonConsoleFormatterOptions : Microsoft.Extensions.Logging.Console.ConsoleFormatterOptions
type JsonConsoleFormatterOptions = class
inherit ConsoleFormatterOptions
Public Class JsonConsoleFormatterOptions
Inherits ConsoleFormatterOptions
- Inheritance
Json |
Initializes a new instance of the JsonConsoleFormatterOptions class. |
Include |
Gets or sets a value that indicates whether scopes are included. (Inherited from ConsoleFormatterOptions) |
Json |
Gets or sets JsonWriterOptions. |
Timestamp |
Gets or sets the format string used to format timestamp in logging messages. (Inherited from ConsoleFormatterOptions) |
Use |
Gets or sets a value that indicates whether or not UTC timezone should be used to format timestamps in logging messages. (Inherited from ConsoleFormatterOptions) |
Продукт | Версии |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: