neko-neko / Echo Logrus
Licence: mit
echo-logrus is a middleware that provides logrus logger support for echo.
Stars: ✭ 27
Labels
Projects that are alternatives of or similar to Echo Logrus
Echo
High performance, minimalist Go web framework
Stars: ✭ 21,297 (+78777.78%)
Mutual labels: echo, middleware
Echo Swagger
echo middleware to automatically generate RESTful API documentation with Swagger 2.0.
Stars: ✭ 314 (+1062.96%)
Mutual labels: echo, middleware
Go Http Metrics
Go modular http middleware to measure HTTP requests independent of metrics backend (with Prometheus and OpenCensus as backend implementations) and http framework/library
Stars: ✭ 128 (+374.07%)
Mutual labels: echo, middleware
Echo Web
Go web framework Echo example. 在线演示☞迁移ing❌
Stars: ✭ 409 (+1414.81%)
Mutual labels: echo, middleware
Carter
Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and most importantly more enjoyable.
Stars: ✭ 875 (+3140.74%)
Mutual labels: middleware
Logger
HTTP middleware for Go that logs web requests to an io.Writer.
Stars: ✭ 24 (-11.11%)
Mutual labels: middleware
Django Compression Middleware
Django middleware to compress responses using several algorithms.
Stars: ✭ 23 (-14.81%)
Mutual labels: middleware
Go Bootstrap
Easy way to bootstrap a web server in Go (Routing|Middleware|Https)
Stars: ✭ 27 (+0%)
Mutual labels: middleware
Grpc Tools
A suite of gRPC debugging tools. Like Fiddler/Charles but for gRPC.
Stars: ✭ 881 (+3162.96%)
Mutual labels: middleware
Cookie Session
Simple cookie-based session middleware
Stars: ✭ 928 (+3337.04%)
Mutual labels: middleware
Middlewares
💥 Middlewares / Relay / PSR-7 support to Nette Framework (@nette)
Stars: ✭ 13 (-51.85%)
Mutual labels: middleware
Kona
a node.js service framework built on koa.js (generators)
Stars: ✭ 23 (-14.81%)
Mutual labels: middleware
Gentleman
Full-featured, plugin-driven, extensible HTTP client toolkit for Go
Stars: ✭ 886 (+3181.48%)
Mutual labels: middleware
Honeybadger Node
A node.js notifier for honeybadger.io
Stars: ✭ 19 (-29.63%)
Mutual labels: middleware
Outputcache
Cache api responses using Redis, Memcached or any cache provider for NodeJS
Stars: ✭ 9 (-66.67%)
Mutual labels: middleware
echo-logrus
Overview
Middleware echo-logrus is a logrus logger support for Echo.
This middleware is working on Echo v4.
Getting Started
dep users
ForWhen your project top dir run this.
$ dep ensure -add github.com/neko-neko/echo-logrus
Modules users
$ go get github.com/neko-neko/echo-logrus/v2
Example
package main
import (
"os"
"time"
"github.com/sirupsen/logrus"
"github.com/labstack/echo/v4"
echoLog "github.com/labstack/gommon/log"
"github.com/neko-neko/echo-logrus/v2"
"github.com/neko-neko/echo-logrus/v2/log"
)
func main() {
e := echo.New()
// Logger
log.Logger().SetOutput(os.Stdout)
log.Logger().SetLevel(echoLog.INFO)
log.Logger().SetFormatter(&logrus.JSONFormatter{
TimestampFormat: time.RFC3339,
})
e.Logger = log.Logger()
e.Use(middleware.Logger())
log.Info("Logger enabled!!")
e.Logger.Fatal(e.Start(":1323"))
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].