filelogger

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 4 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 {
	*debuglogger.Logger
	// contains filtered or unexported fields
}

func New

func New(filename string, options Options) (*Logger, error)

New will create a *Logger with the specified filename and options.

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) Flush

func (l *Logger) Flush() error

type Options

type Options struct {
	Flags      int
	DebugLevel int16 // Supported range: -1 to 32767.
}

Jump to

Keyboard shortcuts

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