Merge pull request #344 from nibalizer/comments_improve

Improve comments in log.go
This commit is contained in:
Mitchell Hashimoto 2014-09-30 22:36:43 -07:00
commit 8008813671
1 changed files with 2 additions and 2 deletions

4
log.go
View File

@ -7,8 +7,8 @@ import (
// These are the environmental variables that determine if we log, and if // These are the environmental variables that determine if we log, and if
// we log whether or not the log should go to a file. // we log whether or not the log should go to a file.
const EnvLog = "TF_LOG" const EnvLog = "TF_LOG" //Set to True
const EnvLogFile = "TF_LOG_PATH" const EnvLogFile = "TF_LOG_PATH" //Set to a file
// logOutput determines where we should send logs (if anywhere). // logOutput determines where we should send logs (if anywhere).
func logOutput() (logOutput io.Writer, err error) { func logOutput() (logOutput io.Writer, err error) {