commit | 33c24e77fb80341fe7130ee7c594256ff08ccc46 | [log] [tgz] |
---|---|---|
author | Michael Borsuk <mrb@wiredsoul.org> | Tue Mar 01 04:00:06 2016 -0800 |
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | Fri Mar 11 10:36:46 2016 +0100 |
tree | 5aaaeb64231b2100078ac6e6e2773b8fc9130a0b | |
parent | fae68c8d41229f8f84a01895e140e71cd5a0805c [diff] |
Call initialize after changing logFlags
diff --git a/thatswhyyoualwaysleaveanote.go b/thatswhyyoualwaysleaveanote.go index df5970c..b64ed46 100644 --- a/thatswhyyoualwaysleaveanote.go +++ b/thatswhyyoualwaysleaveanote.go
@@ -137,6 +137,7 @@ // Set the log Flags (Available flag: DATE, TIME, SFILE, LFILE and MSEC) func SetLogFlag(flags int) { logFlags = flags + initialize() } // Level returns the current global log threshold.