zlog

package
v0.0.0-...-9f5860f Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TCatcher

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

TCatcher -

func (*TCatcher) Catch

func (o *TCatcher) Catch()

Catch -

func (*TCatcher) Error

func (o *TCatcher) Error(condition interface{}, text ...interface{})

Error -

func (*TCatcher) Panic

func (o *TCatcher) Panic(condition interface{}, text ...interface{})

Panic -

func (*TCatcher) Return

func (o *TCatcher) Return(condition interface{})

Return -

func (*TCatcher) Warning

func (o *TCatcher) Warning(condition interface{}, text ...interface{})

Warning -

type TLog

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

TLog -

func Instance

func Instance(name string) *TLog

Instance -

func New

func New(name string) *TLog

New -

func (*TLog) Add

func (o *TLog) Add(logger ...*zlogger.TLogger)

Add -

func (*TLog) Catcher

func (o *TLog) Catcher() *TCatcher

Catcher -

func (*TLog) Debug

func (o *TLog) Debug(text ...interface{})

Debug -

func (*TLog) Debugf

func (o *TLog) Debugf(fomat string, text ...interface{})

Debugf -

func (*TLog) Error

func (o *TLog) Error(condition interface{}, text ...interface{})

Error -

func (*TLog) Errorf

func (o *TLog) Errorf(condition interface{}, format string, text ...interface{})

Errorf -

func (*TLog) Info

func (o *TLog) Info(text ...interface{})

Info -

func (*TLog) Infof

func (o *TLog) Infof(format string, text ...interface{})

Infof -

func (*TLog) Instance

func (o *TLog) Instance(name string) *TLog

Instance -

func (*TLog) Log

func (o *TLog) Log(level loglevel.TLevel, resetFilter loglevel.TFilter, err error, text string)

Log -

func (*TLog) Notice

func (o *TLog) Notice(text ...interface{})

Notice -

func (*TLog) Noticef

func (o *TLog) Noticef(format string, text ...interface{})

Noticef -

func (*TLog) Panic

func (o *TLog) Panic(condition interface{}, text ...interface{})

Panic -

func (*TLog) Panicf

func (o *TLog) Panicf(condition interface{}, format string, text ...interface{})

Panicf -

func (*TLog) Reset

func (o *TLog) Reset(resetFilter loglevel.TFilter, text ...interface{})

Reset -

func (*TLog) Resetf

func (o *TLog) Resetf(resetFilter loglevel.TFilter, format string, text ...interface{})

Resetf -

func (*TLog) SetState

func (o *TLog) SetState(level loglevel.TFilter)

SetState -

func (*TLog) State

func (o *TLog) State() loglevel.TFilter

State -

func (*TLog) String

func (o *TLog) String() string

String -

func (*TLog) Warning

func (o *TLog) Warning(condition interface{}, text ...interface{})

Warning -

func (*TLog) Warningf

func (o *TLog) Warningf(condition interface{}, format string, text ...interface{})

Warningf -

Jump to

Keyboard shortcuts

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