LogSink
Where log records go. Implement it to forward records to your own logging (SLF4J, Logcat, OSLog, crash reporting), or combine the sinks provided here.
write is called on the thread that logs, so it must be quick and thread safe. It must not throw; a failing sink should drop the record.