From 3b685e0188aafd096e5f96039dd77003683c2b53 Mon Sep 17 00:00:00 2001 From: Alexander Shavel Date: Tue, 9 Jul 2024 16:42:33 +0200 Subject: [PATCH] fix documentation. import * as WinstonCloudWatch is not constructable. it should be default import --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b54439..bc20430 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ In ES6 ```js import { createLogger, format } from 'winston'; -import * as WinstonCloudWatch from 'winston-cloudwatch'; +import WinstonCloudWatch from 'winston-cloudwatch'; export const log = createLogger({ level: 'debug',