log

package module
v0.0.0-...-59ca59b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2017 License: MIT Imports: 6 Imported by: 0

README

log

Package log is a handler for the core.
It prints each request/response information (time, duration, status, method, path).

GoDoc

Documentation

Overview

Package log is a handler for the core (https://godoc.org/github.com/volatile/core). It prints each request/response information (time, duration, status, method, path).

Usage

Use adds the handler to the default handlers stack:

log.Use()

Make sure to include the handler above any other handler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Use

func Use()

Use adds the handler to the default handlers stack. It prints each request/response information (time, duration, status, method, path).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL