onTragicEvent

fun onTragicEvent(tragedy: Throwable, location: String)

This method should be called on a tragic event ie. if a downstream class of the writer hits an unrecoverable exception. This method does not rethrow the tragic event exception.

Note: This method will not close the writer but can be called from any location without respecting any lock order