startSection: Mark the start and end of a section of server code in the log

View source: R/logs.R

startSectionR Documentation

Mark the start and end of a section of server code in the log

Description

Writes a short marker to the console so the app's log shows which part of the server is running. Put startSection() at the top of an observeEvent() and endSection() at the bottom, using the same name. Markers are sent as messages, so suppressMessages() hides them.

Usage

startSection(sectionName)

endSection(sectionName)

Arguments

sectionName

Name of the section, shown in the log.

Value

NULL, invisibly. Called for the message it writes.

Examples

startSection("Read in data")
endSection("Read in data")

EZRShiny documentation built on Oct. 10, 2026, 5:08 p.m.