Documentation
¶
Overview ¶
Package logrus registers the global logrus logger to the pio ecosystem, install logrus first:
$ go get github.com/
Example Code:
package main
import (
"github.com/kataras/pio"
_ "github.com/kataras/pio/_examples/integrations/logrus"
)
func main() {
pio.Print("This is an info message that will be printed to the logrus' output")
}
Index ¶
Constants ¶
View Source
const Name = "logrus"
Name of this printer.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.