Documentation ¶
Index ¶
- func BootErrorf(format string, args ...any)
- func BootInfof(format string, args ...any)
- func BootWarnf(format string, args ...any)
- func Debugf(format string, args ...any)
- func DebugfWithRequestId(c *core.Context, format string, args ...any)
- func Errorf(format string, args ...any)
- func ErrorfWithRequestId(c *core.Context, format string, args ...any)
- func ErrorfWithRequestIdAndExtra(c *core.Context, extraString string, format string, args ...any)
- func Infof(format string, args ...any)
- func InfofWithRequestId(c *core.Context, format string, args ...any)
- func Requestf(c *core.Context, format string, args ...any)
- func SetLoggerConfiguration(config *settings.Config, isDisableBootLog bool) error
- func SqlQuery(args ...any)
- func SqlQueryf(format string, args ...any)
- func Warnf(format string, args ...any)
- func WarnfWithRequestId(c *core.Context, format string, args ...any)
- type LogFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugfWithRequestId ¶
DebugfWithRequestId logs debug log with custom format and request id
func ErrorfWithRequestId ¶
ErrorfWithRequestId logs error log with custom format and request id
func ErrorfWithRequestIdAndExtra ¶
ErrorfWithRequestIdAndExtra logs error log with custom format and request id and extra info
func InfofWithRequestId ¶
InfofWithRequestId logs info log with custom format and request id
func SetLoggerConfiguration ¶
SetLoggerConfiguration sets the logger according to the config
Types ¶
Click to show internal directories.
Click to hide internal directories.