Clone of google-glog.