Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Would it be possible to add a function to redirect the log to another log file from inside of one of the R script ? #176

Open
GerdWeist opened this issue May 16, 2023 · 1 comment
Labels
enhancement New feature or request release 0.3.0

Comments

@GerdWeist
Copy link

Feature Idea

In SAS it is possible to redirect the log at any possible position in the SAS program. So if I have a program which calls a lot of TFL generating macros one after the other I can redirect the log as the first action before each macro call. In such a way I can generate a log for each TFL, which simplifies searching for errors. Would it be possible to implement a functionality like this in logrx as well ? Or what would be a possible workaround if I don't want to write one program for each TFL ?

Relevant Input

Maybe like this ?

log_redirect(path=, file=)
MakeTFL(...) # generates one TFL
log_redirect(path=, file=)
MakeTFL(...) # generates one TFL
log_redirect(path=, file=)
MakeTFL(...) # generates one TFL

and so on

Relevant Output

A new log file should be generated after redirection.

Reproducible Example/Pseudo Code

No response

@GerdWeist GerdWeist added the enhancement New feature or request label May 16, 2023
@bms63
Copy link
Collaborator

bms63 commented Jun 3, 2023

Thank you for your Feature Request @GerdWeist! We are regrouping on Monday to discuss future enhancements and roadmap. This will be on our list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request release 0.3.0
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants