Skip to content

Commit

Permalink
updated packages and cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jonathan committed Jan 18, 2025
1 parent 161e228 commit a9ebaa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const timeLog = (label?: string, ...data: unknown[]): void => console.timeLog(la
const timeStamp = (label?: string): void => console.timeStamp(label)
const trace = (...data: unknown[]): void => console.log(...data)
const warn = (...data: unknown[]): void => console.warn(...data)
const json = (...data: unknown[]) => JSON.stringify(console.log(...data))

export const logger = {
assert,
Expand All @@ -66,4 +67,5 @@ export const logger = {
timeStamp,
trace,
warn,
json,
}

0 comments on commit a9ebaa0

Please sign in to comment.