UNPKG

@krauters/debuggable

Version:

A TypeScript utility that automatically adds detailed debug logs before and after method calls in classes, simplifying the tracking of execution flow and troubleshooting.

18 lines 467 B
import type { Logger as KrautersLogger } from '@krauters/logger'; export type Logger = Console | KrautersLogger; export interface LogProps { className: string; method: string; } export interface Metadata { className: string; functionName: string; } export interface PostLogProps extends LogProps { result: unknown; suffix: string; } export interface PreLogProps extends LogProps { args: string[]; } //# sourceMappingURL=structures.d.ts.map