package
0.7.2
Repository: https://github.com/decentr-net/logrus.git
Documentation: pkg.go.dev

# README

Logger for echo

Example

package main

import (
    "github.com/labstack/echo/v4"
    echolog "github.com/onrik/logrus/echo"
    "github.com/sirupsen/logrus"
)

func main() {
    server := echo.New()

    server.Logger = echolog.NewLogger(logrus.StandardLogger(), "")
    server.Use(echolog.Middleware(echolog.DefaultConfig))
}

# Functions

Middleware returns a Logger middleware with config.
NewLogger creates logger.

# Variables

DefaultConfig is the default Logger middleware config.

# Structs

Config defines the config for Logger middleware.
No description provided by the author

# Type aliases

Skipper defines a function to skip middleware.