log

package
v0.0.0-...-483a452 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetHook

func SetHook(client *resty.Client)

Types

type CronAdapter

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

func NewCronAdapter

func NewCronAdapter(l zerolog.Logger) *CronAdapter

func (*CronAdapter) Error

func (c *CronAdapter) Error(err error, msg string, keysAndValues ...interface {
})

func (*CronAdapter) Info

func (c *CronAdapter) Info(msg string, keysAndValues ...interface {
})

type MicroAdapter

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

func NewMicroAdapter

func NewMicroAdapter(l zerolog.Logger) *MicroAdapter

func (*MicroAdapter) Fields

func (z *MicroAdapter) Fields(fields map[string]interface{}) logger.Logger

func (*MicroAdapter) Init

func (z *MicroAdapter) Init(opts ...logger.Option) error

func (*MicroAdapter) Log

func (z *MicroAdapter) Log(level logger.Level, args ...interface{})

func (*MicroAdapter) Logf

func (z *MicroAdapter) Logf(level logger.Level, format string, args ...interface{})

func (*MicroAdapter) Options

func (z *MicroAdapter) Options() logger.Options

func (*MicroAdapter) String

func (z *MicroAdapter) String() string

Jump to

Keyboard shortcuts

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