dbg: Debug log message

View source: R/log.R

dbgR Documentation

Debug log message

Description

Muted log message gated at verbosity ⁠>= 2L⁠. Use for development / troubleshooting output that should not appear in normal operation.

Usage

dbg(..., verbosity = NULL, package = NULL)

Arguments

...

Message components, concatenated with no separator.

verbosity

Integer or NULL: Overrides get_verbosity() when supplied.

package

Character or NULL: Package name for verbosity override.

Details

Named dbg() rather than debug() to avoid shadowing base::debug() - the R debugger entry point.

Value

Invisible NULL.

Author(s)

EDG

Examples

dbg("payload bytes: ", 1234L)

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.