chore: check if the new timestamp fix works
Brijesh Wawdhane ops@brijesh.dev
Sat, 28 Dec 2024 16:36:53 +0530
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
main.go
→
main.go
@@ -2,6 +2,7 @@ package main
import ( "log/slog" + "time" "github.com/wbrijesh/argus_client" )@@ -25,6 +26,9 @@ }()
logger.Info("Info Log using slog handler using buffers") logger.Error("Error Log using slog handler using buffers") + + time.Sleep(3 * time.Second) + logger.Debug("Debug Log using slog handler using buffers") logger.Warn("Warn Log using slog handler using buffers")