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) } }