ech0logger

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DurationAsString enables writing durations as e.g. "21.4ms" instead of "21.432".
	DurationAsString = false
)

Functions

func LogWriter

func LogWriter(lgr ech0.Zero, fs afero.Fs) logger.Logger

LogWriter returns a new Logger. The directory dir specifies where request and response bodies will be written as files, if enabled. The current directory is used if dir is "." or blank.

Types

This section is empty.

Jump to

Keyboard shortcuts

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