Skip to content

Commit

Permalink
fix: Add default case for log.
Browse files Browse the repository at this point in the history
  • Loading branch information
vxern committed Jun 28, 2023
1 parent 594d6fe commit 59c1a8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ function createClient(
return {
metadata,
log: {
default: (...args: unknown[]) => {
FancyLog.info(...args);
},
debug: (...args: unknown[]) => {
FancyLog.info(...args);
},
Expand Down

0 comments on commit 59c1a8d

Please sign in to comment.