plogger-sdk
Version:
Typescript based frontend logging library compatible with multiple transports and JS/TS frameworks
16 lines (15 loc) • 366 B
TypeScript
import { logLevelType } from "./logLevel";
export interface logPayload {
/**
* custom data for the logs
*/
readonly [property: string]: unknown;
}
export interface Config {
name?: string;
hideLogPositionForPerformance?: boolean;
stackDepth?: number;
minLevel?: logLevelType;
formatter?: string;
staticParams?: logPayload;
}