readme: add godoc

This commit is contained in:
Simon Eskildsen 2014-03-13 08:44:08 -04:00
parent d02c5b387e
commit cf9baa9ace
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Logrus <img src="http://i.imgur.com/hTeVwmJ.png" width="40" height="40" alt=":walrus:" class="emoji" title=":walrus:"/> # Logrus <img src="http://i.imgur.com/hTeVwmJ.png" width="40" height="40" alt=":walrus:" class="emoji" title=":walrus:"/>
Logrus is a structured logger for Go (golang), completely API compatible with Logrus is a structured logger for Go (golang), completely API compatible with
the standard library logger. the standard library logger. [Godoc][godoc].
Nicely color-coded in development (when a TTY is attached, otherwise just Nicely color-coded in development (when a TTY is attached, otherwise just
plain text): plain text):
@ -187,3 +187,5 @@ func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) {
* Default fields for an instance and inheritance * Default fields for an instance and inheritance
* Default available hooks (airbrake, statsd, dump cores) * Default available hooks (airbrake, statsd, dump cores)
* Revisit TextFormatter * Revisit TextFormatter
[godoc]: https://godoc.org/github.com/Sirupsen/logrus