i_logger

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: BSD-3-Clause Imports: 2 Imported by: 58

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultLogger = DefaultLoggerType{}

Functions

This section is empty.

Types

type DefaultLoggerType added in v0.0.6

type DefaultLoggerType struct{}

func (*DefaultLoggerType) CloneWithLevel added in v0.1.2

func (d *DefaultLoggerType) CloneWithLevel(level t_logger.Level) ILogger

func (*DefaultLoggerType) CloneWithOutputFile added in v0.1.2

func (d *DefaultLoggerType) CloneWithOutputFile(filepath string) ILogger

func (*DefaultLoggerType) CloneWithPrefix added in v0.1.2

func (d *DefaultLoggerType) CloneWithPrefix(prefix string) ILogger

func (*DefaultLoggerType) Debug added in v0.0.6

func (d *DefaultLoggerType) Debug(args ...interface{})

func (*DefaultLoggerType) DebugF added in v0.0.6

func (d *DefaultLoggerType) DebugF(format string, args ...interface{})

func (*DefaultLoggerType) DebugFRaw added in v0.0.6

func (d *DefaultLoggerType) DebugFRaw(format string, args ...interface{})

func (*DefaultLoggerType) Error added in v0.0.6

func (d *DefaultLoggerType) Error(args ...interface{})

func (*DefaultLoggerType) ErrorF added in v0.0.6

func (d *DefaultLoggerType) ErrorF(format string, args ...interface{})

func (*DefaultLoggerType) ErrorFRaw added in v0.0.6

func (d *DefaultLoggerType) ErrorFRaw(format string, args ...interface{})

func (*DefaultLoggerType) FormatOutput added in v0.0.6

func (d *DefaultLoggerType) FormatOutput(args ...interface{}) string

func (*DefaultLoggerType) Info added in v0.0.6

func (d *DefaultLoggerType) Info(args ...interface{})

func (*DefaultLoggerType) InfoDump added in v0.0.6

func (d *DefaultLoggerType) InfoDump(args ...interface{})

func (*DefaultLoggerType) InfoF added in v0.0.6

func (d *DefaultLoggerType) InfoF(format string, args ...interface{})

func (*DefaultLoggerType) InfoFRaw added in v0.0.6

func (d *DefaultLoggerType) InfoFRaw(format string, args ...interface{})

func (*DefaultLoggerType) Level added in v0.0.8

func (d *DefaultLoggerType) Level() t_logger.Level

func (*DefaultLoggerType) Sdump added in v0.0.6

func (d *DefaultLoggerType) Sdump(args ...interface{}) string

func (*DefaultLoggerType) Warn added in v0.0.6

func (d *DefaultLoggerType) Warn(args ...interface{})

func (*DefaultLoggerType) WarnF added in v0.0.6

func (d *DefaultLoggerType) WarnF(format string, args ...interface{})

func (*DefaultLoggerType) WarnFRaw added in v0.0.6

func (d *DefaultLoggerType) WarnFRaw(format string, args ...interface{})

type ILogger added in v0.0.4

type ILogger interface {
	FormatOutput(args ...interface{}) string
	Sdump(args ...interface{}) string
	Level() t_logger.Level
	CloneWithPrefix(prefix string) ILogger
	CloneWithLevel(level t_logger.Level) ILogger
	CloneWithOutputFile(filepath string) ILogger

	Debug(args ...interface{})
	DebugF(format string, args ...interface{})
	DebugFRaw(format string, args ...interface{})

	Info(args ...interface{})
	InfoF(format string, args ...interface{})
	InfoFRaw(format string, args ...interface{})
	InfoDump(args ...interface{})

	Warn(args ...interface{})
	WarnF(format string, args ...interface{})
	WarnFRaw(format string, args ...interface{})

	Error(args ...interface{})
	ErrorF(format string, args ...interface{})
	ErrorFRaw(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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