logger

package
v0.0.0-...-14a2f22 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, args ...interface{})

func Error

func Error(format string, args ...interface{})

func GetLogger

func GetLogger() gnet.Logger

func GetShortFileName

func GetShortFileName(file string) string

func Info

func Info(format string, args ...interface{})

func LogStack

func LogStack()

func Warn

func Warn(format string, args ...interface{})

Types

type JsonHandlerWithStdOutput

type JsonHandlerWithStdOutput struct {
	slog.JSONHandler
	// contains filtered or unexported fields
}

func NewJsonHandlerWithStdOutput

func NewJsonHandlerWithStdOutput(w io.Writer, opts *slog.HandlerOptions, useStdOutput bool) *JsonHandlerWithStdOutput

func (*JsonHandlerWithStdOutput) Handle

Jump to

Keyboard shortcuts

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