diff options
Diffstat (limited to 'args.go')
| -rw-r--r-- | args.go | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/args.go b/args.go deleted file mode 100644 index 4a452d3..0000000 --- a/args.go +++ /dev/null @@ -1,33 +0,0 @@ -package log - -/* -// disable this until it hopefully is adopted by the go lang developers -// TODO: clean alex's dependancies - -import ( - arg "github.com/alexflint/go-arg" -) - -// -// Attempt to switch logging to syslog on linux -// - -var argLog ArgLog - -// This struct can be used with the go-arg package -type ArgLog struct { - LogDebug bool `arg:"--log-debug" help:"show the log gui"` - LogTmp bool `arg:"--log-tmp" help:"send all output /tmp"` - LogStdout bool `arg:"--log-stdout" help:"send all output to STDOUT"` - LogQuiet bool `arg:"--log-quiet" help:"suppress all output"` -} - -func init() { - arg.Register(&argLog) -} - -// returns true if --log-debug was passed from the command line -func ArgDebug() bool { - return argLog.LogDebug -} -*/ |
