logger

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Parent interfaces.ILogger
	Level  interfaces.LogLevel
	FName  string
	// contains filtered or unexported fields
}

func (*File) Debug

func (t *File) Debug(args ...interface{})

func (*File) Error

func (t *File) Error(err error)

func (*File) Fatal

func (t *File) Fatal(err error)

func (*File) Info

func (t *File) Info(args ...interface{})

func (*File) Init

func (t *File) Init(app interfaces.IService) error

func (*File) Message

func (t *File) Message(args ...interface{})

func (*File) Panic

func (t *File) Panic(err error)

func (*File) Push

func (t *File) Push(level interfaces.LogLevel, msg string, toParent bool)

func (*File) SetLevel

func (t *File) SetLevel(level interfaces.LogLevel)

func (*File) Stop

func (t *File) Stop() error

func (*File) Warn

func (t *File) Warn(args ...interface{})

type Mock

type Mock struct {
}

func (*Mock) Debug

func (t *Mock) Debug(args ...interface{})

func (*Mock) Error

func (t *Mock) Error(err error)

func (*Mock) Fatal

func (t *Mock) Fatal(err error)

func (*Mock) Info

func (t *Mock) Info(args ...interface{})

func (*Mock) Init

func (t *Mock) Init(app interfaces.IService) error

func (*Mock) Message

func (t *Mock) Message(args ...interface{})

func (*Mock) Panic

func (t *Mock) Panic(err error)

func (*Mock) Push

func (t *Mock) Push(level interfaces.LogLevel, msg string, toParent bool)

func (*Mock) SetLevel

func (t *Mock) SetLevel(level interfaces.LogLevel)

func (*Mock) Stop

func (t *Mock) Stop() error

func (*Mock) Warn

func (t *Mock) Warn(args ...interface{})

type Std

type Std struct {
	Parent interfaces.ILogger
	Level  interfaces.LogLevel
}

func (*Std) Debug

func (t *Std) Debug(args ...interface{})

func (*Std) Error

func (t *Std) Error(err error)

func (*Std) Fatal

func (t *Std) Fatal(err error)

func (*Std) Info

func (t *Std) Info(args ...interface{})

func (*Std) Init

func (t *Std) Init(app interfaces.IService) error

func (*Std) Message

func (t *Std) Message(args ...interface{})

func (*Std) Panic

func (t *Std) Panic(err error)

func (*Std) Push

func (t *Std) Push(level interfaces.LogLevel, msg string, toParent bool)

func (*Std) SetLevel

func (t *Std) SetLevel(level interfaces.LogLevel)

func (*Std) Stop

func (t *Std) Stop() error

func (*Std) Warn

func (t *Std) Warn(args ...interface{})

Jump to

Keyboard shortcuts

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