logging

command
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Custom Structured Logger ======================== This example demonstrates how to use middleware.RequestLogger, middleware.LogFormatter and middleware.LogEntry to build a structured logger using the amazing Sirupsen/logrus package as the logging backend.

Also: check out https://github.com/pressly/lg for an improved context logger with support for HTTP request logging, based on the example below.

Jump to

Keyboard shortcuts

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