log

package
v0.0.0-...-5da7351 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package log implements logrus-powered logging functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init initializes the logger according to command-line-provided config parameters.

func Write

func Write(HTTPRequest *http.Request, httpCode int, err error) *logrus.Entry

Write employs logrus to produce a logger in a consistent format. This logger extracts pertinent HTTP request information from the net/http Request parameter provided in go-swagger auto-generated restapi/operations *_parameters.go files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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