We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc0a9a7 commit 6ecc599Copy full SHA for 6ecc599
packages/sdk-socket-server-next/src/logger.ts
@@ -2,7 +2,7 @@ import winston, { format } from 'winston';
2
3
const customFormat = format.printf((ti) => {
4
const { level, message, timestamp } = ti;
5
- const args = ti[Symbol.for('splat')];
+ const args = ti[Symbol.for('splat')] as unknown[];
6
7
const color = {
8
info: '\x1b[36m',
@@ -31,7 +31,7 @@ const customFormat = format.printf((ti) => {
31
})
32
.join(' ') ?? '';
33
34
- const searchContext = message;
+ const searchContext = message as string;
35
if (searchContext.indexOf('wallet') !== -1) {
36
msg += `\x1b[36m${message} ${extras}\x1b[0m`;
37
// eslint-disable-next-line no-negated-condition
0 commit comments