logger

package
v0.0.0-...-11fa6ca Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func (*Logger) Construct

func (*Logger) Construct() interface{}

func (*Logger) Error

func (log *Logger) Error(msg string, args ...interface{})

func (*Logger) Fatal

func (log *Logger) Fatal(msg string, args ...interface{})

func (*Logger) GetLogger

func (log *Logger) GetLogger() interface{}

func (*Logger) Info

func (log *Logger) Info(msg string, args ...interface{})

usage

func (*Logger) LogEvent

func (log *Logger) LogEvent(event fxevent.Event)

func (*Logger) Warn

func (log *Logger) Warn(msg string, args ...interface{})

type LoggerProvider

type LoggerProvider interface {
	Info(msg string, args ...interface{})
	Warn(msg string, args ...interface{})
	Error(msg string, args ...interface{})
	Fatal(msg string, args ...interface{})
	FxLogEvent(event fxevent.Event)
	GetLogger() interface{}
}

type StackFrame

type StackFrame struct {
	Function string `json:"function"`
	File     string `json:"file"`
	Line     int    `json:"line"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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