Skip to content

Commit

Permalink
Update HACKING.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Hoyt <[email protected]>
  • Loading branch information
barrettj12 and benhoyt authored Aug 15, 2023
1 parent 71df835 commit 16023c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ import (

### Log and error messages

**Log messages** (i.e. those passed to `logger.Noticef`) should begin with a capital letter, and use "Cannot X" rather than "Error Xing":
**Log messages** (that is, those passed to `logger.Noticef` or `logger.Debugf`) should begin with a capital letter, and use "Cannot X" rather than "Error Xing":
```go
logger.Noticef("Cannot marshal logs to JSON: %v", err)
```
Expand Down

0 comments on commit 16023c0

Please sign in to comment.