flogger

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 4 Imported by: 1

README

flogger

Function logger. Wrapper around zerolog

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionCall

type FunctionCall struct {
	zerolog.Logger
	// contains filtered or unexported fields
}

func (*FunctionCall) Debug

func (fc *FunctionCall) Debug() *zerolog.Event

func (*FunctionCall) Error

func (fc *FunctionCall) Error() *zerolog.Event

func (*FunctionCall) Exit

func (fc *FunctionCall) Exit()

func (*FunctionCall) Info

func (fc *FunctionCall) Info() *zerolog.Event

func (*FunctionCall) Warn

func (fc *FunctionCall) Warn() *zerolog.Event

type Logger

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

func New

func New(l *zerolog.Logger, typ, name string) Logger

func (*Logger) Enter

func (s *Logger) Enter(params ...interface{}) *FunctionCall

func (*Logger) EnterSilent

func (s *Logger) EnterSilent() *FunctionCall

Jump to

Keyboard shortcuts

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