Handle failed vsprintf
Use logdirect for stream. Way faster.