Skip to content

Conversation

@inirudebwoy
Copy link

@inirudebwoy inirudebwoy commented May 25, 2018

It is helpful when passing object to logger utilities.

We are using this library and it saves us a lot of time. However when Document objects are passed into logger calls to_dict needs to be called so it provides some information about the object.

With this change you can do:

logger.debug('My document is %s', Document({'foo': 'bar}))

It is helpful when passing object to logger utilities.
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.

1 participant