UEA-Prodem

This commit is contained in:
2026-06-10 12:38:42 -03:00
parent 3f33154e16
commit c41625e542
9352 changed files with 1128292 additions and 14752 deletions
+23
View File
@@ -0,0 +1,23 @@
import { entityKind } from "./entity.js";
export interface Logger {
logQuery(query: string, params: unknown[]): void;
}
export interface LogWriter {
write(message: string): void;
}
export declare class ConsoleLogWriter implements LogWriter {
static readonly [entityKind]: string;
write(message: string): void;
}
export declare class DefaultLogger implements Logger {
static readonly [entityKind]: string;
readonly writer: LogWriter;
constructor(config?: {
writer: LogWriter;
});
logQuery(query: string, params: unknown[]): void;
}
export declare class NoopLogger implements Logger {
static readonly [entityKind]: string;
logQuery(): void;
}