Add exception handling to log writes
Add exception handling to log writes

 - due to async logging exceptions lead to
   log entries being silently lost
 - try to create a diagnostic log entry if that happens
 - incorporate original level, name and message of the
   failing log entry

vyo/twig