From 5513c600346d78234f1addc60f4953908cdd79c5 Mon Sep 17 00:00:00 2001 From: David Bariod Date: Mon, 16 Apr 2018 14:16:44 +0200 Subject: [PATCH] Improve documentation for Fatal* class functions --- exported.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exported.go b/exported.go index 013183e..dfd982a 100644 --- a/exported.go +++ b/exported.go @@ -107,7 +107,7 @@ func Panic(args ...interface{}) { std.Panic(args...) } -// Fatal logs a message at level Fatal on the standard logger. +// Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1. func Fatal(args ...interface{}) { std.Fatal(args...) } @@ -147,7 +147,7 @@ func Panicf(format string, args ...interface{}) { std.Panicf(format, args...) } -// Fatalf logs a message at level Fatal on the standard logger. +// Fatalf logs a message at level Fatal on the standard logger then the process will exit with status set to 1. func Fatalf(format string, args ...interface{}) { std.Fatalf(format, args...) } @@ -187,7 +187,7 @@ func Panicln(args ...interface{}) { std.Panicln(args...) } -// Fatalln logs a message at level Fatal on the standard logger. +// Fatalln logs a message at level Fatal on the standard logger then the process will exit with status set to 1. func Fatalln(args ...interface{}) { std.Fatalln(args...) }