logging: add LoggerDB::flushAllHandlers()