Wrong type winston.LogMethod for messageFormatter
Closed this issue · 0 comments
afharo commented
Hi as of now, winston.LogMethod
is defined as https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/winston/index.d.ts#L490
But messageFormatter
should be a function that receives 1 parameter logObject
with {level: string, msg: string, meta: any}
and returns a string
.