1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 02:47:04 +00:00
This commit is contained in:
Makis Maropoulos
2016-06-19 10:32:20 +03:00
parent 15139e33b7
commit 39e1504ba3
3 changed files with 13 additions and 8 deletions

View File

@@ -111,7 +111,7 @@ func (l *Logger) Fatalf(format string, a ...interface{}) {
// Panic is equivalent to l.Dangerf("%#v",interface{}) followed by a call to panic().
func (l *Logger) Panic(a interface{}) {
l.Dangerf("%s\n", a)
panic("")
panic(a)
}
// Panicf is equivalent to l.Dangerf() followed by a call to panic().