Updated the logger to use a writer (std.array.Appender)
The appender will work with formattedWriter, this has proven
to have better performance then using format with a string