apitally
Version:
Simple API monitoring & analytics for REST APIs built with Express, Fastify, Hono, Koa, and NestJS.
12 lines (9 loc) • 351 B
text/typescript
import * as winston from 'winston';
interface Logger {
debug: (message: string, meta?: object) => void;
info: (message: string, meta?: object) => void;
warn: (message: string, meta?: object) => void;
error: (message: string, meta?: object) => void;
}
declare const getLogger: () => winston.Logger;
export { type Logger, getLogger };