https://github.com/danielgatis/go-logrus-adapters

A collection of adapters for logrus pkg.

https://github.com/danielgatis/go-logrus-adapters

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.5%) to scientific vocabulary

Keywords

go golang logging logrus logrus-adapter
Last synced: 5 months ago · JSON representation

Repository

A collection of adapters for logrus pkg.

Basic Info
  • Host: GitHub
  • Owner: danielgatis
  • License: mit
  • Language: Go
  • Default Branch: master
  • Homepage:
  • Size: 54.7 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Topics
go golang logging logrus logrus-adapter
Created about 4 years ago · Last pushed 12 months ago
Metadata Files
Readme License

README.md

Go - Logrus Adapters

Go Report Card License MIT Go Doc

A collection of adapters for logrus pkg.

Install

bash go get -u github.com/danielgatis/go-logrus-adapters

And then import the package in your code:

go import "github.com/danielgatis/go-logrus-adapters"

Example

```go package main

import ( "net/http"

adapters "github.com/danielgatis/go-logrus-adapters"
"github.com/labstack/echo/v4"
"github.com/sirupsen/logrus"

)

func main() { e := echo.New() e.Logger = adapters.NewEchoLogAdapter(logrus.StandardLogger())

e.GET("/", func(c echo.Context) error {
    return c.String(http.StatusOK, "Hello, World!\n")
})

e.Logger.Fatal(e.Start(":1323"))

} ```

License

Copyright (c) 2021-present Daniel Gatis

Licensed under MIT License

Buy me a coffee

Liked some of my work? Buy me a coffee (or more likely a beer)

Buy Me A Coffee

Owner

  • Name: Daniel Gatis
  • Login: danielgatis
  • Kind: user
  • Location: Recife - PE

GitHub Events

Total
  • Delete event: 9
  • Issue comment event: 7
  • Push event: 7
  • Pull request event: 15
  • Create event: 6
Last Year
  • Delete event: 9
  • Issue comment event: 7
  • Push event: 7
  • Pull request event: 15
  • Create event: 6

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 19
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 year
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.47
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 19
Past Year
  • Issues: 0
  • Pull requests: 9
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.33
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 9
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (19)
Top Labels
Issue Labels
Pull Request Labels
dependencies (19) go (3)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 1
proxy.golang.org: github.com/danielgatis/go-logrus-adapters
  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 1
Rankings
Dependent repos count: 4.7%
Dependent packages count: 5.8%
Average: 12.1%
Forks count: 18.7%
Stargazers count: 19.1%
Last synced: 8 months ago

Dependencies

go.mod go
  • github.com/cespare/xxhash v1.1.0
  • github.com/cespare/xxhash/v2 v2.1.2
  • github.com/dgraph-io/badger/v3 v3.2103.2
  • github.com/dgraph-io/ristretto v0.1.0
  • github.com/dustin/go-humanize v1.0.0
  • github.com/fatih/color v1.13.0
  • github.com/gogo/protobuf v1.3.2
  • github.com/golang/glog v1.0.0
  • github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
  • github.com/golang/protobuf v1.5.2
  • github.com/golang/snappy v0.0.4
  • github.com/google/flatbuffers v2.0.5+incompatible
  • github.com/hashicorp/go-hclog v1.0.0
  • github.com/klauspost/compress v1.13.6
  • github.com/labstack/echo/v4 v4.6.1
  • github.com/labstack/gommon v0.3.1
  • github.com/mattn/go-colorable v0.1.12
  • github.com/mattn/go-isatty v0.0.14
  • github.com/pkg/errors v0.9.1
  • github.com/robfig/cron/v3 v3.0.1
  • github.com/sirupsen/logrus v1.8.1
  • github.com/valyala/bytebufferpool v1.0.0
  • github.com/valyala/fasttemplate v1.2.1
  • go.opencensus.io v0.23.0
  • golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
  • golang.org/x/net v0.0.0-20211216030914-fe4d6282115f
  • golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e
  • golang.org/x/text v0.3.7
  • google.golang.org/protobuf v1.27.1
go.sum go
  • 217 dependencies