Skip to content

Commit

Permalink
Add panic example
Browse files Browse the repository at this point in the history
  • Loading branch information
pchchv committed Jan 31, 2023
1 parent 1560820 commit dd8e746
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dd8e746

Please sign in to comment.