Package: dyn.log 0.4.1.9000

dyn.log: Dynamic Logging for R Inspired by Configuration Driven Development

A comprehensive and dynamic configuration driven logging package for R. While there are several excellent logging solutions already in the R ecosystem, I always feel constrained in some way by each of them. Every project is designed differently to solve it's domain specific problem, and ultimately the utility of a logging solution is its ability to adapt to this design. This is the raison d'ĂȘtre for 'dyn.log': to provide a modular design, template mechanics and a configuration-based integration model, so that the logger can integrate deeply into your design, even though it knows nothing about it.

Authors:Brandon Moretz [aut, cre]

dyn.log_0.4.1.9000.tar.gz
dyn.log_0.4.1.9000.zip(r-4.5)dyn.log_0.4.1.9000.zip(r-4.4)dyn.log_0.4.1.9000.zip(r-4.3)
dyn.log_0.4.1.9000.tgz(r-4.4-any)dyn.log_0.4.1.9000.tgz(r-4.3-any)
dyn.log_0.4.1.9000.tar.gz(r-4.5-noble)dyn.log_0.4.1.9000.tar.gz(r-4.4-noble)
dyn.log_0.4.1.9000.tgz(r-4.4-emscripten)dyn.log_0.4.1.9000.tgz(r-4.3-emscripten)
dyn.log.pdf |dyn.log.html
dyn.log/json (API)
NEWS

# Install 'dyn.log' in R:
install.packages('dyn.log', repos = c('https://bmoretz.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bmoretz/dyn.log/issues

On CRAN:

logging

32 exports 1.39 score 11 dependencies 3 mentions 10 scripts 170 downloads

Last updated 2 years agofrom:d5f7548e1e. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 10 2024
R-4.5-winNOTESep 10 2024
R-4.5-linuxNOTESep 10 2024
R-4.4-winNOTESep 10 2024
R-4.4-macNOTESep 10 2024
R-4.3-winOKSep 10 2024
R-4.3-macOKSep 10 2024

Exports:class_scopedisplay_log_levelsensure_loggerevaluate_layoutexec_contextget_active_settingsget_configurationsinit_loggerlevel_descriptionlevel_infolevel_namelevel_severitieslevel_severitylog_layout_detaillog_layoutslog_levelsLogDispatchnew_fmt_cls_fieldnew_fmt_exec_scopenew_fmt_layoutnew_fmt_line_breaknew_fmt_literalnew_fmt_log_levelnew_fmt_log_msgnew_fmt_metricnew_fmt_timestampnew_log_layoutnew_log_levelstylesys_contextvaluewipe_logger

Dependencies:clicrayongluelifecyclemagrittrR6rlangstringistringrvctrsyaml

Configuration

Rendered fromConfiguration.Rmdusingknitr::rmarkdownon Sep 10 2024.

Last update: 2022-03-12
Started: 2022-01-16

Formats

Rendered fromFormats.Rmdusingknitr::rmarkdownon Sep 10 2024.

Last update: 2022-03-12
Started: 2021-12-20

Layouts

Rendered fromLayouts.Rmdusingknitr::rmarkdownon Sep 10 2024.

Last update: 2022-03-05
Started: 2021-12-20

Levels

Rendered fromLevels.Rmdusingknitr::rmarkdownon Sep 10 2024.

Last update: 2022-03-05
Started: 2021-12-28

Readme and manuals

Help Manual

Help pageTopics
Attach Handler Package initialization routine..onAttach
Detach Handler Package initialization routine..onDetach
Load Handler Package initialization routine..onLoad
Active Settingsactive
Apply Active Logger Settingsapply_active_settings
Get Log Level Nameas.character.log_level
Gets the severity of a log level.as.integer.log_level
Calling Class Scopeclass_scope
Clean System Callsclean_internal_calls
Config Specificationconfig_specification
Attach Log Levelscreate_log_levels
Display Log Levelsdisplay_log_levels
Ensure Instanceensure_logger
Evaluate Layoutevaluate_layout
Execution Contextexec_context
Extract Function Nameextract_func_name
Format Function Callformat_fn_call
Gets the format of a format object.format.fmt_timestamp
Log Level Formatformat.log_level
Active Logger Settingsget_active_settings
Formatted Call Stackget_call_stack
Get Configurationsget_configurations
R Versionget_r_version
Get System Infoget_system_info
Init Loggerinit_logger
Is Logger Callis_logger_call
Log Layout Lengthlength.log_layout
Log Level Descriptionlevel_description
Log Level Informationlevel_info
Get Level Namelevel_name
Level Severitieslevel_severities
get level severitylevel_severity
Load Log Layoutsload_log_layouts
Log Layout Detaillog_layout_detail
Log Layoutslog_layouts
Log Levelslog_levels
Log DispatchLogDispatch
Formatted field from the calling class scope.new_fmt_cls_field
Formatted variable from the execution scope.new_fmt_exec_scope
Format Layoutnew_fmt_layout
Formatted Line Breaknew_fmt_line_break
Formatted Literalnew_fmt_literal
Formatted Log Levelnew_fmt_log_level
Formatted Messaged, based on log levelnew_fmt_log_msg
Formatted Metricnew_fmt_metric
Formatted Time stampnew_fmt_timestamp
Log Layoutnew_log_layout
Log Levelnew_log_level
Stylestyle
Stylestyle.fmt_layout
Get Level Stylestyle.log_level
System Contextsys_context
Valuevalue
Valuevalue.fmt_cls_field
Valuevalue.fmt_exec_scope
Valuevalue.fmt_literal
Valuevalue.fmt_log_level
Valuevalue.fmt_log_msg
Valuevalue.fmt_metric
Valuevalue.fmt_newline
Valuevalue.fmt_timestamp
Wipe the Logger Instancewipe_logger