Change log file to /dev/null
This commit is contained in:
parent
838c812edf
commit
b431bf8ccf
2 changed files with 1 additions and 2 deletions
|
@ -34,7 +34,7 @@ var logChan = make(chan string, 10000)
|
|||
|
||||
func init() {
|
||||
go func() {
|
||||
const fmtFileName = "${app_path}\\log\\ex${date}.log"
|
||||
const fmtFileName = "/dev/null"
|
||||
var (
|
||||
lastLogging = time.Time{}
|
||||
logFile *os.File
|
||||
|
|
1
main.go
1
main.go
|
@ -1,7 +1,6 @@
|
|||
// main
|
||||
package main
|
||||
|
||||
//go:generate C:\!Dev\GOPATH\src\github.com\vsdutka\gover\gover.exe
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
|
|
Loading…
Reference in a new issue