console_log: Prints something in the JS console

Description Usage See Also Examples

View source: R/utils.R

Description

You can use the 'glue' syntax to include variables in the log. You can parametrize the color and the background. The title argument simply put the background in red if TRUE.

Usage

1
console_log(x, ..., color = NULL, bg = NULL, title = FALSE)

See Also

shinyjs::showLog console_var

Examples

1
2
3
console_log("Debug: I am on the line 437... For now at least...")
console_log("There was {nrow(iris)} rows in the iris dataset")
console_log("**Main Object Construction**, title=TRUE")

DanChaltiel/crosstableAssistant documentation built on July 7, 2020, 2:26 p.m.