logging

package
v0.0.0-...-9bc905a Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogEntry

type LogEntry struct {
	Url      string        // url of the file we tried to download
	Name     string        // name for the output file
	Result   bool          // whether or not the file was downloaded
	NBytes   uint64        // number of bytes of the downloaded file
	Duration time.Duration // how much time this download needed
}

LogEntry contains the fields that our log file will contain

func (LogEntry) Print

func (l LogEntry) Print()

Print prints a LogEntry

Jump to

Keyboard shortcuts

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