From 79c888854670703ca89850ff3b3c30f5df5c0385 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 17 Sep 2021 13:35:39 -0600 Subject: [PATCH] go mod --- go.mod | 3 +++ logb.go | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 go.mod diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..5090a88 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module local/logb + +go 1.17 diff --git a/logb.go b/logb.go index 1dae107..6520f85 100755 --- a/logb.go +++ b/logb.go @@ -17,6 +17,10 @@ func Writer() io.Writer { return writer } +func Get() Level { + return level +} + func Set(l ...Level) { if len(l) < 1 { l = []Level{INFO}