Documentation
¶
Index ¶
- func Error(ctx context.Context, msg string, args ...any)
- func Errorf(ctx context.Context, format string, args ...interface{})
- func Info(ctx context.Context, msg string, args ...any)
- func Infof(ctx context.Context, format string, args ...interface{})
- func Init() error
- func JSON(v interface{}) interface{}
- func SetErrorOutput(w io.Writer)
- func SetInfoOutput(w io.Writer)
- type JSONValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetErrorOutput ¶
SetErrorOutput sets a custom writer for error logs (useful for testing)
func SetInfoOutput ¶
SetInfoOutput sets a custom writer for info logs (useful for testing)
Types ¶
Click to show internal directories.
Click to hide internal directories.