GlobalLogBufferingOptions.AutoFlushDuration Property

Definition

Gets or sets the time to do automatic flushing after manual flushing was triggered.

public:
 property TimeSpan AutoFlushDuration { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan AutoFlushDuration { get; set; }
member this.AutoFlushDuration : TimeSpan with get, set
Public Property AutoFlushDuration As TimeSpan

Property Value

Remarks

Use this to temporarily suspend buffering after a flush, e.g. in case of an incident you may want all logs to be emitted immediately, so the buffering will be suspended for the time.

Applies to