Fix example

This commit is contained in:
Simon Eskildsen
2014-03-10 19:59:18 -04:00
parent afde6aea11
commit ec306913da
3 changed files with 33 additions and 7 deletions
+4
View File
@@ -85,6 +85,10 @@ func (entry *Entry) Debug(args ...interface{}) {
}
}
func (entry *Entry) Print(args ...interface{}) {
entry.Info(args...)
}
func (entry *Entry) Info(args ...interface{}) {
if entry.logger.Level >= Info {
entry.log("info", fmt.Sprint(args...))