UNPKG

apitally

Version:

Simple API monitoring & analytics for REST APIs built with Express, Fastify, NestJS, AdonisJS, Hono, H3, Elysia, Hapi, and Koa.

12 lines (9 loc) 350 B
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 function getLogger(): winston.Logger; export { type Logger, getLogger };