UNPKG

@wnqueiroz/ecs-winston

Version:

A formatter for the winston logger compatible with Elastic Common Schema (ECS) 🚀

13 lines (12 loc) • 436 B
import { ECSWinston } from './interfaces/ecs-winston.interface'; import { ECS } from './interfaces/ecs.interface'; /** * See the ECS Field Reference: * @see https://www.elastic.co/guide/en/ecs/1.12/ecs-field-reference.html. */ export declare type ECSLog = ECS.Fields; /** * Metadata of the logs that will be displayed. */ export declare type LogMetadata = ECSWinston.Log.Metadata; export { ecsWinstonFormat } from './ecs-winston';