clog variable — Log output stream
extern ostream clog
The clog
object is a
standard output stream associated with the C stderr
file. Unlike cerr
, the clog
object does not set the unitbuf
flag. This makes it more suitable
for writing less critical messages that are not considered normal
program output, such as debugging or logging messages.