viesti / timbre-json-appender

JSON appender for Timbre
MIT License
44 stars 11 forks source link

Timestamp opts fix #25

Closed MiyamotoAkira closed 2 years ago

MiyamotoAkira commented 2 years ago

This is a fix for issue #24

The issue was caused by using instant instead of timestamp_ on the appender.

I have changed the function install to pass exactly the same pattern as it was used by default, so there should be no change for anyone.

Added a couple of tests to verify the behaviour.

viesti commented 2 years ago

This is really nice, thank you! :)