Udostępnij za pośrednictwem


BatchingLoggerOptions Class

Definition

Options for a logger which batches up log messages.

public ref class BatchingLoggerOptions
public class BatchingLoggerOptions
type BatchingLoggerOptions = class
Public Class BatchingLoggerOptions
Inheritance
BatchingLoggerOptions
Derived

Constructors

BatchingLoggerOptions()

Properties

BackgroundQueueSize

Gets or sets the maximum size of the background log message queue or null for no limit.

BatchSize

Gets or sets the maximum number of events to include in a single batch or null for no limit.

FlushPeriod

Gets or sets the period after which logs will be flushed to the store.

IncludeScopes

Gets or sets a value indicating whether scopes should be included in the message.

IsEnabled

Gets or sets a value indicating if the logger accepts and queues writes.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to