Fixed buffer size for temporary that holds the time date format.
Added a member function to set the stream to something different than std::cout.
Changed the std::endl at the end of a log message to just a newline.