38 void setLogFile(std::string
const& fileName)
45 virtual ~
LogStream() {
if (out) out.close(); };
47 template<
class Pr
intable>
54 LogStream& operator<<(std::ostream&(*f)(std::ostream&)) {
64 inline std::ofstream out;
71 template<
class T,
class ...Args>
72 void print(T first, Args&&... next)
76 print(std::forward<Args>(next)...);