start the path to rust

This commit is contained in:
2026-02-10 15:54:09 +00:00
parent 237dba3bab
commit 8bd8c295b0
318 changed files with 28352 additions and 428 deletions

17
dist_ts/logger.d.ts vendored Normal file
View File

@@ -0,0 +1,17 @@
declare class StandardLogger {
private defaultContext;
private correlationId;
constructor();
log(level: 'error' | 'warn' | 'info' | 'success' | 'debug', message: string, context?: Record<string, any>): void;
error(message: string, context?: Record<string, any>): void;
warn(message: string, context?: Record<string, any>): void;
info(message: string, context?: Record<string, any>): void;
success(message: string, context?: Record<string, any>): void;
debug(message: string, context?: Record<string, any>): void;
setContext(context: Record<string, any>, overwrite?: boolean): void;
setCorrelationId(id?: string | null): string;
getCorrelationId(): string | null;
clearCorrelationId(): void;
}
export declare const logger: StandardLogger;
export {};