log_phase_set: Set log phase

View source: R/log_phase_set.R

log_phase_setR Documentation

Set log phase

Description

Set the current log phase.

Usage

log_phase_set(phase)

Arguments

phase

Character string with the phase of the log. Only the first 255 characters are used. Cannot include the pipe character "|" because it is the delimiter of fields in the log output.

Value

NULL (invisibly). Called for its side effects.

Examples

  path <- tempfile()
  log_phase_get()
  log_print(path = path)
  log_phase_set("different")
  log_phase_get()
  log_print(path = path)
  log_phase_reset()
  log_phase_get()
  log_read(path)

autometric documentation built on April 3, 2025, 11:14 p.m.