teal_logger_formatter: Teal 'log_formatter'

View source: R/log_formatter.R

teal_logger_formatterR Documentation

Teal log_formatter

Description

Custom log_formatter supporting atomic vectors. By default glue::glue returns n-element vector when vector is provided as an input. This function generates "[elem1, elem2, ...]" for atomic vectors. Function also handles NULL value which normally causes logger to return empty character.

Usage

teal_logger_formatter()

teal_logger_transformer(text, envir)

Arguments

text

Text (typically) R code to parse and evaluate.

envir

environment to evaluate the code in

Value

Nothing. Called for its side effects.


teal.logger documentation built on Oct. 30, 2024, 9:17 a.m.