README: fix indentation in snippet

This commit is contained in:
Stanislas Lange 2020-08-10 13:35:04 +02:00
parent 6699a89a23
commit 4013bd3dd6
No known key found for this signature in database
GPG Key ID: 710D9597C7EAD8CF
1 changed files with 4 additions and 4 deletions

View File

@ -75,10 +75,10 @@ time="2015-03-26T01:27:38-04:00" level=fatal msg="The ice breaks!" err=&{0x20822
To ensure this behaviour even if a TTY is attached, set your formatter as follows: To ensure this behaviour even if a TTY is attached, set your formatter as follows:
```go ```go
log.SetFormatter(&log.TextFormatter{ log.SetFormatter(&log.TextFormatter{
DisableColors: true, DisableColors: true,
FullTimestamp: true, FullTimestamp: true,
}) })
``` ```
#### Logging Method Name #### Logging Method Name