added CL_GERROR()
flushed stream after each log message