GLog1 GLog - Logger Program stream 형식의 C++ style Logger 이다. 설정 방법 환경변수 GLOG_logtostderr : 파일로 남기는 대신 stderr 로 출력. 1일경우 stderr 로 log 내용을 출력한다. Default 는 0 GLOG_stderrthreshold : stderr 로 출력할 레벨. 0=INFO, 1=WARNING, 2=ERROR, 3=FATAL. Default 는 ERROR GLOG_minloglevel : 로그로 남길 최소 레벨. 위의 번호를 따라간다. Default 는 INFO. GLOG_log_dir : 로그 파일을 남길 디렉토리를 지정한다. Default 는 /tmp etc... http://code.google.com/p/google-glog/ 2009. 8. 21. 이전 1 다음