log

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger represents a Writer which writes the log to the provided file as well as stdout.

func New

func New(path string) (*Logger, error)

New creates a new logger to be used with any log package. It is designed to write to a log file as well as stdout to allow you to store logs from the proxy.

func (*Logger) Write

func (l *Logger) Write(p []byte) (int, error)

Write ...

Jump to

Keyboard shortcuts

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