R/zzz.R

Defines functions .onLoad

# create an object to store the information of registered handlers
registered_handlers_namespaces <- new.env()

.onLoad <- function(libname, pkgname) { # nolint
  # Set up the teal logger instance
  register_logger("teal.logger")
  register_handlers("teal.logger")
  invisible()
}

Try the teal.logger package in your browser

Any scripts or data that you put into this service are public.

teal.logger documentation built on May 29, 2024, 9:14 a.m.