ColinGilbert / noobwerkz-engine

My happy playground of programmer fun.
Apache License 2.0
20 stars 3 forks source link

Cleanup logging #52

Open ColinGilbert opened 8 years ago

ColinGilbert commented 8 years ago

Create better logging defaults.

The objects have a constexpr string with their names, and append that + their address (or other hash) to each log message.
Also, create a vararg'd template function that creates a fmt::MemoryWriter, appends to it, and returns a string directly from its arguments instead of having to create one and go through chevron hell (just like with iostreams...)