caffe-style logging (glog instead of printf)