Categorygithub.com/onrik/echo-slog
modulepackage
1.1.0
Repository: https://github.com/onrik/echo-slog.git
Documentation: pkg.go.dev

# README

echo-slog

Logger for echo based on log/slog.

package main

import (
    "github.com/labstack/echo/v4"
    "github.com/onrik/echo-slog"
)

func main() {
    server := echo.New()
    server.Use(echoslog.MiddlewareDefault())
}

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
Middleware returns a Logger middleware with config.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultConfig is the default Logger middleware config.

# Structs

Config defines the config for Logger middleware.

# Type aliases

No description provided by the author
Skipper defines a function to skip middleware.