MD formatting

This commit is contained in:
Dave Clendenan
2017-08-02 17:35:14 -07:00
parent 9ce1c9e3b5
commit e3d17767d1
+2
View File
@@ -66,6 +66,8 @@ To ensure this behaviour even if a TTY is attached, set your formatter as follow
}) })
``` ```
#### Logging Method Name
If you wish to add the calling method as a field, instruct the logger via: If you wish to add the calling method as a field, instruct the logger via:
```go ```go
log.SetReportCaller(true) log.SetReportCaller(true)