mirror of https://github.com/sirupsen/logrus.git
MD formatting
This commit is contained in:
parent
9ce1c9e3b5
commit
e3d17767d1
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue