Skip to content

Commit 7a1a1ed

Browse files
committed
missing helper comment in func Log doc
1 parent c03ed81 commit 7a1a1ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

handlers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ func Err(f func(err error)) Handler {
7373

7474
const lvl = 10
7575

76-
// Log prints error string to the current log that is set by [SetLogTracer].
76+
// Log is a built-in helper to use with [Handle] and [Catch]. Log prints error
77+
// string to the current log that is set by [SetLogTracer].
7778
func Log(err error) error {
7879
if err == nil {
7980
return nil

0 commit comments

Comments
 (0)