update logging (#5)

* removed Zap logging and switched to logrus
* "deprecating" the prometheus.go file and fixed up logging stuff on a couple more files.
* removed uber zap from glide
* well that sure messed things up
This commit is contained in:
Steve Brunton
2017-11-29 22:42:59 -05:00
committed by GitHub
parent 13b50a6b7c
commit be3ca4608c
7 changed files with 58 additions and 165 deletions

View File

@@ -4,13 +4,10 @@ import (
"fmt"
"github.com/prometheus/client_golang/prometheus"
"go.uber.org/zap"
)
type Config struct {
Devices []Device
Logger *zap.SugaredLogger
Metrics PromMetrics
}
func (c *Config) FromFlags(device, address, user, password *string) error {