W
Wouter Lievens
I know I can change the behaviour of the clog object to, for example, log to
a file, using rdbuf().
Can I change it to do both, meaning dumping to a file and writing to the
console.
So I mean, if I call:
clog << "Foobar" << endl;
It should write it to the console and write it to a file.
a file, using rdbuf().
Can I change it to do both, meaning dumping to a file and writing to the
console.
So I mean, if I call:
clog << "Foobar" << endl;
It should write it to the console and write it to a file.