File

src/lib/local-storage-appender.configuration.ts

Description

Configuration for LocalStorageAppender.

Index

Properties

Properties

localStorageKey
localStorageKey: string
Type : string

Key which is used to store the messages in the local storage.

maxMessages
maxMessages: number
Type : number
Optional

Maximum number of log messages stored by the appender.

Default: 250.

threshold
threshold: string
Type : string
Optional

Threshold.

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

Default: WARN.

export interface LocalStorageAppenderConfiguration {
	/**
	 * Key which is used to store the messages in the local storage.
	 */
	localStorageKey: string;

	/**
	 * Maximum number of log messages stored by the appender.
	 *
	 * Default: 250.
	 */
	maxMessages?: number;

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

results matching ""

    No results matching ""