From 39e6240124f7ad246db7be5d335de45ec8aacaec Mon Sep 17 00:00:00 2001 From: Shinichiro Hamaji Date: Wed, 20 May 2015 19:34:58 +0900 Subject: Check the timestamp of cache --- log.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'log.go') diff --git a/log.go b/log.go index b795ecc..2fb45ce 100644 --- a/log.go +++ b/log.go @@ -7,7 +7,7 @@ import ( "runtime/pprof" ) -func log(f string, a ...interface{}) { +func LogAlways(f string, a ...interface{}) { var buf bytes.Buffer buf.WriteString("*kati*: ") buf.WriteString(f) @@ -19,14 +19,14 @@ func LogStats(f string, a ...interface{}) { if !katiLogFlag && !katiStatsFlag { return } - log(f, a...) + LogAlways(f, a...) } func Log(f string, a ...interface{}) { if !katiLogFlag { return } - log(f, a...) + LogAlways(f, a...) } func Warn(filename string, lineno int, f string, a ...interface{}) { -- cgit v1.2.3