You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ if err != nil {
25
25
26
26
And, finally, handled by printing it to the log file:
27
27
```go
28
-
log.Errorf("Error: %s", err)
28
+
log.Printf("Error: %s", err)
29
29
```
30
30
31
31
It doesn't take long to find out that quite often this is not enough. There's little fun in solving the issue when everything a developer is able to observe is a line in the log that looks like on of those:
0 commit comments