tlog

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.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 LogAdapter

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

func NewLogAdapter

func NewLogAdapter(log, debugLog *log.Logger) LogAdapter

func NewNullLogAdapter

func NewNullLogAdapter() LogAdapter

func (LogAdapter) Debugf

func (la LogAdapter) Debugf(format string, v ...interface{})

func (LogAdapter) Printf

func (la LogAdapter) Printf(format string, v ...interface{})

type Logger

type Logger interface {
	Printf(format string, v ...interface{})
	Debugf(format string, v ...interface{})
}

Jump to

Keyboard shortcuts

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