plog

package module
v0.0.34 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: ISC Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryAdapter

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

func (*EntryAdapter) Bool

func (e *EntryAdapter) Bool(key string, b bool) kook.Entry

func (*EntryAdapter) Bytes

func (e *EntryAdapter) Bytes(key string, val []byte) kook.Entry

func (*EntryAdapter) Caller

func (e *EntryAdapter) Caller(depth int) kook.Entry

func (*EntryAdapter) Dur

func (e *EntryAdapter) Dur(key string, d time.Duration) kook.Entry

func (*EntryAdapter) Err

func (e *EntryAdapter) Err(key string, err error) kook.Entry

func (*EntryAdapter) Float64

func (e *EntryAdapter) Float64(key string, f float64) kook.Entry

func (*EntryAdapter) IPAddr

func (e *EntryAdapter) IPAddr(key string, ip net.IP) kook.Entry

func (*EntryAdapter) Int

func (e *EntryAdapter) Int(key string, i int) kook.Entry

func (*EntryAdapter) Int64

func (e *EntryAdapter) Int64(key string, i int64) kook.Entry

func (*EntryAdapter) Interface

func (e *EntryAdapter) Interface(key string, i interface{}) kook.Entry

func (*EntryAdapter) Msg

func (e *EntryAdapter) Msg(msg string)

func (*EntryAdapter) Msgf

func (e *EntryAdapter) Msgf(f string, i ...interface{})

func (*EntryAdapter) Str

func (e *EntryAdapter) Str(key string, s string) kook.Entry

func (*EntryAdapter) Strs

func (e *EntryAdapter) Strs(key string, s []string) kook.Entry

func (*EntryAdapter) Time

func (e *EntryAdapter) Time(key string, t time.Time) kook.Entry

type LoggerAdapter

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

func NewLogger

func NewLogger(l *log.Logger) *LoggerAdapter

func (LoggerAdapter) Debug

func (l LoggerAdapter) Debug() kook.Entry

func (LoggerAdapter) Error

func (l LoggerAdapter) Error() kook.Entry

func (LoggerAdapter) Fatal

func (l LoggerAdapter) Fatal() kook.Entry

func (LoggerAdapter) Info

func (l LoggerAdapter) Info() kook.Entry

func (LoggerAdapter) Trace

func (l LoggerAdapter) Trace() kook.Entry

func (LoggerAdapter) Warn

func (l LoggerAdapter) Warn() kook.Entry

Jump to

Keyboard shortcuts

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