Interface POSTLoggerOptions

interface POSTLoggerOptions {
    batchSize?: number;
    headers?: Record<string, string>;
    intervalMs?: number;
    logLevel?: LogLevel;
    metadata?: Record<string, string>;
    url: string;
}

Properties

batchSize?: number

Log batch size. Default value is 85.

headers?: Record<string, string>

You can use headers to provide credentials when POSTLogger makes an HTTP POST request. POSTLogger adds headers to all requests.

intervalMs?: number

Log sending interval. Default value is 2000ms.

logLevel?: LogLevel

Level of logging. Check [[LogLevel]] for more information. Default value is LogLevel.WARN.

metadata?: Record<string, string>

Use metadata to send meetingId, attendeeId, or any other information. POSTLogger includes this metadata as part of the request body when making the HTTP POST requests to your provided URL.

url: string

URL to send logs.