From 608f0a03198bbda69597811fbbc458d08d38e067 Mon Sep 17 00:00:00 2001
From: Jake Taylor <jake@elixxir.io>
Date: Wed, 29 Jun 2022 13:05:26 -0500
Subject: [PATCH] add log microseconds

---
 bindings/client.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bindings/client.go b/bindings/client.go
index 6790d2f31..1b36a9129 100644
--- a/bindings/client.go
+++ b/bindings/client.go
@@ -13,6 +13,7 @@ import (
 	"encoding/json"
 	"errors"
 	"fmt"
+	"log"
 	"runtime/pprof"
 	"strings"
 	"sync"
@@ -31,7 +32,7 @@ import (
 	"google.golang.org/grpc/grpclog"
 )
 
-var extantClient bool = false
+var extantClient = false
 var loginMux sync.Mutex
 
 var clientSingleton *Client
@@ -165,6 +166,7 @@ func LogLevel(level int) error {
 	threshold := jww.Threshold(level)
 	jww.SetLogThreshold(threshold)
 	jww.SetStdoutThreshold(threshold)
+	jww.SetFlags(log.LstdFlags | log.Lmicroseconds)
 
 	switch threshold {
 	case jww.LevelTrace:
-- 
GitLab