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

Fix for #137 #138

Merged
merged 4 commits into from
Oct 4, 2023
Merged

Conversation

torfjelde
Copy link
Contributor

Fix for #137

Not sure if this is the way to go, but figured I'd submit it in case it's useful.

with_logger(lg) do
@info "x" val=3.0
end
hist = convert(MVHistory, lg)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the line that is failing. Is what we need:

Suggested change
hist = convert(MVHistory, lg)
hist = convert(ValueHistories.MVHistory, lg)

Or do we need to make sure ValueHistories.jl is loaded?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I think I've gotten confused by the fact that ValueHistories.jl is listed as a dep for the test target in the Project.toml, and thus assumed it was already loaded. I loaded it in runtests.jl now:) Should hopefully do the trick.

@oxinabox oxinabox merged commit 37bae6b into JuliaLogging:master Oct 4, 2023
Sign up for free to 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