We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For each of the filtered loggers, we could define a convience select_logger as for example:
select_logger
function early_select_logger(cond_func, if_true_logger::AbstractLogger, if_false_logger::AbstractLogger) return TeeLogger( EarlyFilteredLogger(cond_func, if_true_logger), EarlyFilteredLogger(!cond_func, if_false_logger), ) end
This seems like a common usecase. E.g.
https://github.com/SciML/DiffEqBase.jl/blob/2465183e2e31dd2d2be82de45ce2e8e7b9412697/src/utils.jl#L261-L278
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For each of the filtered loggers,
we could define a convience
select_logger
as for example:
This seems like a common usecase.
E.g.
https://github.com/SciML/DiffEqBase.jl/blob/2465183e2e31dd2d2be82de45ce2e8e7b9412697/src/utils.jl#L261-L278
The text was updated successfully, but these errors were encountered: