@ngworker/lumberjack
Version:
Lumberjack is a versatile Angular logging library, specifically designed to be extended and customized
24 lines (23 loc) • 763 B
TypeScript
import { LumberjackLogDriverConfig } from '@ngworker/lumberjack';
import { LumberjackHttpDriverRetryOptions } from './lumberjack-http-driver-retry.options';
/**
* Settings used by the HTTP driver.
*/
export interface LumberjackHttpDriverInternalConfig extends LumberjackLogDriverConfig {
/**
* The identifier of the application that emitted the log.
*
* This is used by the log store to organize logs.
*/
readonly origin: string;
/**
* Settings for retrying failed HTTP requests.
*/
readonly retryOptions: LumberjackHttpDriverRetryOptions;
/**
* The URL of the log store endpoint.
*
* NOTE! The endpoint matching this url MUST support the POST HTTP verb.
*/
readonly storeUrl: string;
}