File

src/lib/ajax-appender.configuration.ts

Description

Configuration for AjaxAppender.

Index

Properties

Properties

batchSize
batchSize: number
Type : number
Optional

Number of log messages sent in each request.

Default: 1.

threshold
threshold: string
Type : string
Optional

Threshold.

Valid values are: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN

Default: WARN.

timerInterval
timerInterval: number
Type : number
Optional

Interval for sending log messages (in milliseconds).

If set to 0, every message will be sent immediatedly.

Default: 0.

url
url: string
Type : string

Url to send JavaScript logs

withCredentials
withCredentials: boolean
Type : boolean
Optional

Specifies whether cookies should be sent with each request.

Default: false.

export interface AjaxAppenderConfiguration {

	/**
	 * Url to send JavaScript logs
	 */
	url: string;

	/**
	 * Specifies whether cookies should be sent with each request.
	 *
	 * Default: false.
	 */
	withCredentials?: boolean;

	/**
	 * Number of log messages sent in each request.
	 *
	 * Default: 1.
	 */
	batchSize?: number;

	/**
	 * Interval for sending log messages (in milliseconds).
	 *
	 * If set to 0, every message will be sent immediatedly.
	 *
	 * Default: 0.
	 */
	timerInterval?: number;

	/**
	 * Threshold.
	 *
	 * Valid values are: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
	 *
	 * Default: WARN.
	 */
	threshold?: string;
}

results matching ""

    No results matching ""