@russ-b/nestjs-common-tools
Version:
NestJS utility tools
10 lines (9 loc) • 369 B
TypeScript
import LokiTransport from 'winston-loki';
import { TransportFactory } from '../interfaces';
export declare class LokiTransportFactory implements TransportFactory {
private readonly level;
private readonly lokiUrl;
private readonly labels;
constructor(level: string, lokiUrl: string, labels: Record<string, any>);
createTransport(): LokiTransport;
}