Skip to content

Conversation

@surki
Copy link
Contributor

@surki surki commented Feb 10, 2022

When martian is used as package, it needs to work along with the host's
logging infrastructure. This change adds support for custom logging.

By default, it retains current logging, provides an option to change the logger if needed.

When martian is used as package, it needs to work along with the host's
logging infrastructure. By default, it retains current logging, provides an
option to change it if needed.
@surki
Copy link
Contributor Author

surki commented Feb 10, 2022

FYI, I haven't wrapped the SetLogger in a lock, anticipating it to be used once, from init() or so. But if you think, we should support dynamically changing it, I could wrap it in the same lock.

@surki
Copy link
Contributor Author

surki commented Feb 28, 2022

@bramhaghosh wondering if you had a chance to look this? thanks.

@bramhaghosh bramhaghosh merged commit d6ef5c8 into google:master Mar 15, 2022
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