瀏覽代碼

document -log_dir, the one undocumented flag in this package.

Rob Pike 12 年之前
父節點
當前提交
c6f9652c71
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      glog.go

+ 3 - 0
glog.go

@@ -45,6 +45,9 @@
 //	-stderrthreshold=ERROR
 //		Log events at or above this severity are logged to standard
 //		error as well as to files.
+//	-log_dir=""
+//		Log files will be written to this directory instead of the
+//		default temporary directory.
 //
 //	Other flags provide aids to debugging.
 //