From dd8e746f69f3faa1abe763cfe898c1a251ac6c37 Mon Sep 17 00:00:00 2001 From: pchchv Date: Tue, 31 Jan 2023 11:26:17 +0300 Subject: [PATCH] Add panic example --- example/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/example/main.go b/example/main.go index bdf68d8..22099d3 100644 --- a/example/main.go +++ b/example/main.go @@ -68,6 +68,7 @@ func main() { golog.Error("Hello world!") golog.FatalCheck(thisFunc()) + golog.Panic("Hello world!") } func simpleInfo(writer *os.File, time, level string, maxLength int, caller, message string) {