The idea is to allow timber to serialize the args that you send into the log, and be able to get the objects in custom Timber.Tree. Currently the trees just get the message and tag, but not the args with its own types.
One idea:
Timber.o("my message", myCustomObjectInstance)
And then on the tree allow to receive that custom object.
This is helpfull if you have a lot of kotlin sealed event classes for instance and want to log into some analytics with properties on it.
First, thanks for this awesome library.
The idea is to allow timber to serialize the args that you send into the log, and be able to get the objects in custom
Timber.Tree
. Currently the trees just get the message and tag, but not the args with its own types.One idea:
And then on the tree allow to receive that custom object.
This is helpfull if you have a lot of kotlin sealed event classes for instance and want to log into some analytics with properties on it.