From 11886732ca81b556a18c1c1e9186427424085972 Mon Sep 17 00:00:00 2001 From: DABH Date: Sun, 24 Mar 2024 15:52:42 -0500 Subject: [PATCH] Revert "Remove nonexistent Logger methods from types" This reverts commit c3c391122c44e3f0a46758997bfbb83aaea204ab. --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.d.ts b/index.d.ts index 16297ee60..929ef4ae0 100644 --- a/index.d.ts +++ b/index.d.ts @@ -139,6 +139,13 @@ declare namespace winston { input: LeveledLogMethod; silly: LeveledLogMethod; + // for syslog levels only + emerg: LeveledLogMethod; + alert: LeveledLogMethod; + crit: LeveledLogMethod; + warning: LeveledLogMethod; + notice: LeveledLogMethod; + query( options?: QueryOptions, callback?: (err: Error, results: any) => void