use microsecond granularity

This commit is contained in:
Alex Dadgar
2016-06-22 15:20:56 -07:00
parent 5905a7046a
commit dddf376a04

View File

@@ -61,7 +61,7 @@ type Agent struct {
func NewAgent(config *Config, logOutput io.Writer) (*Agent, error) {
a := &Agent{
config: config,
logger: log.New(logOutput, "", log.LstdFlags),
logger: log.New(logOutput, "", log.LstdFlags|log.Lmicroseconds),
logOutput: logOutput,
shutdownCh: make(chan struct{}),
}