Open
Description
This will cause a TS error:
new WinstonCloudWatch({
level: 'info',
logGroupName: 'Name',
logStreamName: 'Main',
awsAccessKeyId: process.env.AWS_ACCESS_KEY_ID as string,
awsSecretKey: process.env.AWS_SECRET_KEY as string,
awsRegion: 'eu-central-1',
messageFormatter: winston.format.json(),
}),
I expected it to work like the in the stock transports of Winston e.g.
new winston.transports.Console({
level: 'debug',
format: winston.format.json(),
}),
Metadata
Metadata
Assignees
Labels
No labels