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

Explicitly specify which logger should log #211

Open
matbun opened this issue Sep 17, 2024 · 0 comments
Open

Explicitly specify which logger should log #211

matbun opened this issue Sep 17, 2024 · 0 comments

Comments

@matbun
Copy link
Collaborator

matbun commented Sep 17, 2024

itwinai.loggers.LoggersCollection allows to log using multiple loggers at the same time. However, it is not possible for the users to select which logger should log when calling the log(...) method, resulting in all loggers in the collection to log simultaneously.

Maybe we could index each logger in the collection with a name (defaults to __class__.__name__) and use it to explicitly specify which logger should log what in the log(..., loggers=['cool_mlflow', 'nice_wandb']).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant