refactor(http): move to core package (#4690)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-12-19 16:37:21 +01:00
1 parent a0a11e3570
commit 6f0dbae121
75 files changed
+280 -286

No files matched your search

@@ -15,4 +15,12 @@ interface DefaultMetadata {
}
export const createLogger = (metadata: DefaultMetadata & Record<string, unknown>) => logger.child(metadata);
export type Logger = winston.Logger;
type LogMethod = ((message: string, metadata?: Record<string, unknown>) => void) | ((error: unknown) => void);
export interface ILogger {
debug: LogMethod;
info: LogMethod;
warn: LogMethod;
error: LogMethod;
}