We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentf110f61 commit3a54777Copy full SHA for 3a54777
index.d.ts
@@ -63,30 +63,19 @@ declare namespace winston {
63
done(info?:any):boolean;
64
}
65
66
-typeLogCallback=(
67
-error?:any,
68
-level?:string,
69
-message?:string,
70
-meta?:any
71
-)=>void;
72
-
73
interfaceLogEntry{
74
level:string;
75
message:string;
76
[optionName:string]:any;
77
78
79
interfaceLogMethod{
80
-(level:string,message:string,callback:LogCallback):Logger;
81
-(level:string,message:string,meta:any,callback:LogCallback):Logger;
82
(level:string,message:string, ...meta:any[]):Logger;
83
(entry:LogEntry):Logger;
84
(level:string,message:any):Logger;
85
86
87
interfaceLeveledLogMethod{
88
-(message:string,callback:LogCallback):Logger;
89
-(message:string,meta:any,callback:LogCallback):Logger;
90
(message:string, ...meta:any[]):Logger;
91
(message:any):Logger;
92
(infoObject:object):Logger;