zapx

package
v0.0.0-...-8bd0854 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoroutineID

func GoroutineID() string

GoroutineID 获取协程编号

func NewZapWriter

func NewZapWriter() (logx.Writer, error)

Types

type ZapWriter

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

func (*ZapWriter) Alert

func (w *ZapWriter) Alert(v interface{})

func (*ZapWriter) Close

func (w *ZapWriter) Close() error

func (*ZapWriter) Debug

func (w *ZapWriter) Debug(v interface{}, fields ...logx.LogField)

func (*ZapWriter) Error

func (w *ZapWriter) Error(v interface{}, fields ...logx.LogField)

func (*ZapWriter) Info

func (w *ZapWriter) Info(v interface{}, fields ...logx.LogField)

func (*ZapWriter) Severe

func (w *ZapWriter) Severe(v interface{})

func (*ZapWriter) Slow

func (w *ZapWriter) Slow(v interface{}, fields ...logx.LogField)

func (*ZapWriter) Stack

func (w *ZapWriter) Stack(v interface{})

func (*ZapWriter) Stat

func (w *ZapWriter) Stat(v interface{}, fields ...logx.LogField)

Jump to

Keyboard shortcuts

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