From 35f12fb760875958f2a8d2d3520b8e91fdc4e143 Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Thu, 6 Aug 2015 21:19:22 -0300 Subject: [PATCH] Fix panic return type Signed-off-by: Marcos Lilljedahl --- entry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry.go b/entry.go index 8a522f0..001c4c7 100644 --- a/entry.go +++ b/entry.go @@ -100,7 +100,7 @@ func (entry Entry) log(level Level, msg string) { // panic() to use in Entry#Panic(), we avoid the allocation by checking // directly here. if level <= PanicLevel { - panic(entry) + panic(&entry) } }