Closed m7pr closed 2 months ago
@daroczig or we could extend existing messages so they display namespace
ns <- session$ns("")
log_level(level, "Shiny input change detected in {ns} on {name}: {old} -> {new}", namespace = namespace)
clsoing this in favour of https://github.com/daroczig/logger/pull/155
This PR introduces 3 new parameters
@param allow
allow
is needed to skip thestop()
statement that blocks the usage oflog_shiny_input_changes
outside of Shiny app. However there are use cases where the usage outside Shiny app make sense, e.g. in Shiny Tests:@param *_message
If there is multiple server modules that utilize
log_shiny_input_changes
with similar input names, it would be beneficial to be able to append thelog_shiny_input_changes
messages with user-defined messages (e.g. such messages that include name of the function in the message). So I proposed to have messages used in this function as parameters that a user can overwrite.