Hey! Are there plans adding more flexible logging ...
# mvikotlin
a
Hey! Are there plans adding more flexible logging strategy for
mvikotlin-logging
, for now everything gets logged,
storeName
,
eventType
and
value
, but
value
sometimes gets huge (mainly because of
Model
and
State
data classes) and pollutes the logcat. I saw that now we can specify
maxLenght
for log message, but that is more like guessing game.
a
How would you like to make it more flexible? Now it's a good timing since stable version is not release yet.
I will review the logging functionality before release.
a
Actually only thing that is bothering me that you can’t opt out of
value
logging, because
storeName
and
eventType
are mandatory, but
value
sometimes pollutes logcat.
a
So basically you would like to log everything but values?
a
yes
a
Thanks, I will keep this in mind. I think it is doable.
👍🏻 1
PR has merged, let me know if you have any questions. https://github.com/arkivanov/MVIKotlin/pull/97
a
Nice! Looks good. 🤩