Skip to content

Commit

Permalink
Try different indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Starttoaster committed Jun 18, 2024
1 parent d492bd9 commit bfd0936
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/slogs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ import "github.com/chia-network/go-modules/pkg/slogs"

func main() {
// Init the logger with a log-level string (debug, info, warn, error)
// defaults to "info" if empty or unsupported string
slogs.Init("info")
// defaults to "info" if empty or unsupported string
slogs.Init("info")

// Logs a hello world message at the info level
slogs.Logger.Info("hello world")

// Logs an error message at the error level
// Logs an error message at the error level
slogs.Logger.Error("we received an error")
}
```
Expand Down

0 comments on commit bfd0936

Please sign in to comment.