UNPKG

ts-logger-tools

Version:

`ts-logger-tools` 是一个基于 TypeScript 的日志工具包,旨在为 Node.js 应用程序提供强大的日志记录和管理功能。它支持多种日志类型,包括访问日志、应用日志,并且可以与 MongoDB 集成,用于日志的存储和查询。

114 lines (113 loc) 3.17 kB
declare const SLSIndexJson: { accessLogs: { max_text_len: number; log_reduce_white_list: never[]; log_reduce_black_list: never[]; line: { chn: boolean; caseSensitive: boolean; token: string[]; }; keys: { traceId: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; timestamp: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; ipAddress: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; userId: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; }; index_all: boolean; max_depth: number; json_keys: {}; }; applicationLogs: { max_text_len: number; log_reduce_white_list: never[]; log_reduce_black_list: never[]; line: { chn: boolean; caseSensitive: boolean; token: string[]; }; keys: { traceId: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; timestamp: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; userId: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; spanId: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; parentSpanId: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; eventType: { chn: boolean; caseSensitive: boolean; token: string[]; alias: string; type: string; doc_value: boolean; }; }; index_all: boolean; max_depth: number; json_keys: {}; }; }; export default SLSIndexJson;