@gati-framework/observability
Version:
Observability stack for Gati framework - Prometheus, Grafana, Loki, and Tracing
13 lines (12 loc) • 567 B
TypeScript
import type { ILogger } from '@gati-framework/contracts';
import { LokiLogger } from '../loki/logger.js';
export declare class WinstonLokiAdapter implements ILogger {
private logger;
constructor(logger: LokiLogger);
debug(message: string, context?: Record<string, any>): void;
info(message: string, context?: Record<string, any>): void;
warn(message: string, context?: Record<string, any>): void;
error(message: string, context?: Record<string, any>): void;
child(context: Record<string, any>): ILogger;
getLokiLogger(): LokiLogger;
}