aboutsummaryrefslogtreecommitdiffstats
path: root/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'log.go')
-rw-r--r--log.go6
1 files changed, 3 insertions, 3 deletions
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{}) {