daroczig / daroczig/logger

Feature Request: Hooks allowing for namespaces

Open
#236 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
323
Forks
46
Avg merge
1d 21h
Merged PRs (30d)
1

Description

Hi! I love the package. I am using it for maybe a unique project where I have several different similar analyzes that are running together. They share a lot of the same code so I have been leveraging the namespace argument in the log_* functions to keep my logs separate. I wanted to implement log_errors() as a fallback in case there is an unexpected error without having to wrap everything in a tryCatch statement. However, log_errors() does not accept a namespace argument. So for now I am creating a parent log for these kinds of error.

Is it possible to get log_errors to accept a namespace?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.