fix: Add timestamp to TransformableInfo interface#251
fix: Add timestamp to TransformableInfo interface#251jpramos123 wants to merge 1 commit intowinstonjs:masterfrom
Conversation
Simples solution to winstonjs#250. Simply add the timestamp to the interface
|
Check out my PR I think it is a better solution because yours fix it only for the timestamp issue. Also my fix works for newer version of TS. |
|
Is this property guaranteed to always exist, or would adding this as a required property (i.e. without |
By making the same change, and not using Using const logFormat = printf(({ level, message }) => {
return `${level}: ${message}`;
}); |
|
I wasn't referring specifically to your code, but asking generally about any code. |
Simples solution to #250. Simply add the timestamp to the interface