Quellcode durchsuchen

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

Rob Pike vor 12 Jahren
Ursprung
Commit
c6f9652c71
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      glog.go

+ 3 - 0
glog.go

@@ -45,6 +45,9 @@
 //	-stderrthreshold=ERROR
 //	-stderrthreshold=ERROR
 //		Log events at or above this severity are logged to standard
 //		Log events at or above this severity are logged to standard
 //		error as well as to files.
 //		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.
 //	Other flags provide aids to debugging.
 //
 //