Added trace log level.

This commit is contained in:
Maxim Korolyov
2018-08-28 18:13:29 +03:00
committed by Loren Osborn
parent c7a33dc5de
commit ef9d84e9b3
3 changed files with 20 additions and 20 deletions
+2 -1
View File
@@ -246,9 +246,10 @@ A list of currently known of service hook can be found in this wiki [page](https
#### Level logging
Logrus has six logging levels: Debug, Info, Warning, Error, Fatal and Panic.
Logrus has seven logging levels: Trace, Debug, Info, Warning, Error, Fatal and Panic.
```go
log.Trace("Something very low level.")
log.Debug("Useful debugging information.")
log.Info("Something noteworthy happened!")
log.Warn("You should probably take a look at this.")