26 friend std::ostream &operator<<(std::ostream &out,
const logfix &lf) {
28 for (
char ch : lf.text) {
29 if (newline) out << Log::endl;
30 if (!(newline = ch ==
'\n')) out << ch;
36 explicit logfix(std::string s) : text(s) {}
37 explicit logfix(
const std::stringstream &ss) : text(ss.str()) {}