LoggingSampler Class

Definition

Controls the number of samples of log records collected and sent to the backend.

public ref class LoggingSampler abstract
public abstract class LoggingSampler
type LoggingSampler = class
Public MustInherit Class LoggingSampler
Inheritance
LoggingSampler

Constructors

LoggingSampler()

Methods

ShouldSample<TState>(LogEntry<TState>)

Makes a sampling decision for the provided logEntry.

Applies to