Skip to content

Commit

Permalink
Remove nonexistent Logger methods from types
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaScriptBach authored and wbt committed Oct 18, 2023
1 parent caf2df6 commit c3c3911
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions index.d.ts
Expand Up @@ -139,13 +139,6 @@ 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
Expand Down

3 comments on commit c3c3911

@Nol-go
Copy link

@Nol-go Nol-go commented on c3c3911 Mar 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this breaks the use of syslog levels for the logger

@Kaycosmic7
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be reverted

@wbt
Copy link
Contributor

@wbt wbt commented on c3c3911 Apr 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #2424 for further discussion.

Please sign in to comment.