Documentation ¶
Overview ¶
Package log provides semantic log functions.
Index ¶
- func Error(args ...any)
- func ErrorContext(ctx context.Context, args ...any)
- func ErrorContextf(ctx context.Context, msg string, args ...any)
- func Errorf(msg string, args ...any)
- func Exit(args ...any)
- func Exitf(msg string, args ...any)
- func Fatal(args ...any)
- func Fatalf(msg string, args ...any)
- func Fatalln(args ...any)
- func Info(args ...any)
- func InfoContext(ctx context.Context, args ...any)
- func InfoContextf(ctx context.Context, msg string, args ...any)
- func Infof(msg string, args ...any)
- func Warning(args ...any)
- func WarningContext(ctx context.Context, args ...any)
- func WarningContextf(ctx context.Context, msg string, args ...any)
- func Warningf(msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorContext ¶ added in v0.0.65
ErrorContext logs to the informational log with a Context.
func ErrorContextf ¶ added in v0.0.65
ErrorContextf logs to the error log with a Context.
func InfoContext ¶ added in v0.0.65
InfoContext logs to the informational log with a Context.
func InfoContextf ¶ added in v0.0.65
InfoContextf logs to the informational log with a Context.
func WarningContext ¶ added in v0.0.65
WarningContext logs to the informational log with a Context.
func WarningContextf ¶ added in v0.0.65
WarningContextf logs to the warning log with a Context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.