Documentation
¶
Index ¶
- func FormatQuota(quota int) string
- func GetCurrentLogPath() string
- func LogDebug(ctx context.Context, msg string, args ...any)
- func LogError(ctx context.Context, msg string)
- func LogErrorMetadata(ctx context.Context, errorType, code string, status int)
- func LogInfo(ctx context.Context, msg string)
- func LogJson(ctx context.Context, msg string, obj any)
- func LogQuota(quota int) string
- func LogWarn(ctx context.Context, msg string)
- func SetupLogger()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatQuota ¶
func GetCurrentLogPath ¶
func GetCurrentLogPath() string
func LogErrorMetadata ¶
LogErrorMetadata emits only bounded diagnostic identifiers and HTTP status. Callers must supply classified codes, never provider messages or payloads.
func SetupLogger ¶
func SetupLogger()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.