src/lib/logging-viewer-modal/logging-viewer-modal-properties.model.ts
Describes all properties which can be passed to the LoggingViewerModalComponent.
Properties |
|
| allowClearLogs |
allowClearLogs:
|
Type : boolean
|
| Optional |
|
Flag showing a delete button, which removes all existing log messages. |
| language |
language:
|
Type : string
|
| Optional |
|
Language to be used for the modal. Currently supported: en, de |
| localStorageKeys |
localStorageKeys:
|
Type : string
|
| Optional |
|
Comma-separated list of localStorageKeys. If set, the logs get loaded from localStorage instead of memory. |
| translation |
translation:
|
Type : LoggingViewerTranslation
|
| Optional |
|
Translation to be used for the modal. If specified, the language is ignored. |
import { LoggingViewerTranslation } from "../logging-viewer-translation.model";
/**
* Describes all properties which can be passed to the
* [LoggingViewerModalComponent](../classes/LoggingViewerModalComponent.html).
*/
export interface LoggingViewerModalProperties {
/**
* Language to be used for the modal.
* Currently supported: en, de
*/
language?: string;
/**
* Translation to be used for the modal.
* If specified, the language is ignored.
*/
translation?: LoggingViewerTranslation;
/**
* Comma-separated list of localStorageKeys. If set, the logs get loaded from localStorage instead of memory.
*/
localStorageKeys?: string;
/**
* Flag showing a delete button, which removes all existing log messages.
*/
allowClearLogs?: boolean;
}