27 bool Open(const std::string
& file
= "log.txt")
29 m_FileStream
.open(file
.c_str(), std::ios::out
);
30 if (m_FileStream
.is_open())
38 if (m_FileStream
.is_open())
47 stringstream
& Warning()
58 ostream
& operator<<(T
& val
)
65 ostream
& operator<<(ostream
& (*fn
)(ostream
&))
72 ostream
& operator<<(ios
& (*fn
)(ios
&))
81 std::ofstream m_FileStream
;
82 std::stringstream m_StrStream
;
89 ostream
& operator<<(T
&)