Skip to content

Commit

Permalink
Bind console.info in playground (#3219)
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack authored Sep 27, 2024
1 parent f131d43 commit 3ff5747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/playground/src/sidebar/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function rewireLoggingToElement(
const replace = {} as any
bindLoggingFunc(replace, rawConsole, "log", "LOG")
bindLoggingFunc(replace, rawConsole, "debug", "DBG")
bindLoggingFunc(replace, rawConsole, "info", "INF")
bindLoggingFunc(replace, rawConsole, "warn", "WRN")
bindLoggingFunc(replace, rawConsole, "error", "ERR")
replace["clear"] = clearLogs
Expand Down

0 comments on commit 3ff5747

Please sign in to comment.