Skip to content

allow setting shift variables in LogDevice when using reopen - #56

Merged
nobu merged 2 commits into
ruby:masterfrom
titusfortner:reopen_shifts
Feb 14, 2025
Merged

allow setting shift variables in LogDevice when using reopen#56
nobu merged 2 commits into
ruby:masterfrom
titusfortner:reopen_shifts

Conversation

@titusfortner

Copy link
Copy Markdown
Contributor

This addresses the issue I raised in #55

The code in this PR allows setting parameters applicable to a log file in LogDevice#reopen as well as during initialization.

I only added the one test to demonstrate the functionality; please let me know what all you would like done here. Should I just copy/paste all of the applicable tests while replacing the constructor code with these 2 lines? Should I put it in a separate test file?

Comment threadlib/logger/log_device.rb Outdated
@nobu
nobu merged commit c937598 into ruby:masterFeb 14, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@titusfortner@nobu