The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
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")
}
Register registers a specific logrus printf-compatible function signature
to the pio registry.
pio can take only one by-design because it is not based on any log levels
but, you can extend it by calling its Hijack function
to determinate what to log.