From 212d1712376cd63f859209cb60cbd56966a1d7c1 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Tue, 4 Mar 2025 11:10:18 +0000 Subject: [PATCH] chore(): readme update --- README.md | 2 +- examples/demo-trading.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 889809c..e6447bf 100644 --- a/README.md +++ b/README.md @@ -510,7 +510,7 @@ Important: do not subscribe to the same topics on both clients or you will recei ### Customise logging -Pass a custom logger (or mutate the imported DefaultLogger class) which supports the log methods `silly`, `debug`, `notice`, `info`, `warning` and `error`, or override methods from the default logger as desired, as in the example below: +Pass a custom logger (or mutate the imported DefaultLogger class) which supports the log methods `trace`, `info` and `error`, or override methods from the default logger as desired, as in the example below: ```javascript const { WebsocketClient, DefaultLogger } = require('bybit-api'); diff --git a/examples/demo-trading.ts b/examples/demo-trading.ts index b4002a0..951e22a 100644 --- a/examples/demo-trading.ts +++ b/examples/demo-trading.ts @@ -26,7 +26,7 @@ const restClient = new RestClientV5({ demoTrading: true, }); -// Optional, uncomment the "silly" override to log a lot more info about what the WS client is doing +// Optional, uncomment the "trace" override to log a lot more info about what the WS client is doing const customLogger = { ...DefaultLogger, // trace: (...params) => console.log('trace', ...params),