Dela via


LoggingConsoleOptions Class

Definition

Options to configure console logging formatter.

public ref class LoggingConsoleOptions
public class LoggingConsoleOptions
type LoggingConsoleOptions = class
Public Class LoggingConsoleOptions
Inheritance
LoggingConsoleOptions

Constructors

LoggingConsoleOptions()

Properties

ColorsEnabled

Gets or sets a value indicating whether colors are enabled or not.

DimensionsBackgroundColor

Gets or sets a value indicating what color to use for dimension text background.

DimensionsColor

Gets or sets a value indicating what color to use for dimension text.

DimmedBackgroundColor

Gets or sets a value indicating what color to use for dimmed text background.

DimmedColor

Gets or sets a value indicating what color to use for dimmed text.

ExceptionBackgroundColor

Gets or sets a value indicating what color to use for exception text background.

ExceptionColor

Gets or sets a value indicating what color to use for exception text.

ExceptionStackTraceBackgroundColor

Gets or sets a value indicating what color to use for exception stack trace text background.

ExceptionStackTraceColor

Gets or sets a value indicating what color to use for exception stack trace text.

IncludeCategory

Gets or sets a value indicating whether to display category.

IncludeDimensions

Gets or sets a value indicating whether to include dimension name/value pairs with each log record.

IncludeExceptionStacktrace

Gets or sets a value indicating whether to display stack trace.

IncludeLogLevel

Gets or sets a value indicating whether to display log level.

IncludeScopes

Gets or sets a value indicating whether to display scopes.

IncludeSpanId

Gets or sets a value indicating whether to display activity SpanId.

IncludeTimestamp

Gets or sets a value indicating whether to display timestamp.

IncludeTraceId

Gets or sets a value indicating whether to display activity TraceId.

TimestampFormat

Gets or sets format string used to format timestamp in logging messages.

UseUtcTimestamp

Gets or sets a value indicating whether or not UTC timezone should be used for timestamps in logging messages.

Applies to