Documentation ¶
Index ¶
- func InitLogger(ctx context.Context)
- func InitTestLogger(t *testing.T)
- func LogExecutionTime(msg string, ctx context.Context, f func())
- func LogExecutionTimeWithResult[R1 any](msg string, ctx context.Context, f func() R1) R1
- func LogExecutionTimeWithResults[R1 any, R2 any](msg string, ctx context.Context, f func() (R1, R2)) (R1, R2)
- func SetNullLogger()
- type ContextKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitTestLogger ¶
func LogExecutionTime ¶
func SetNullLogger ¶
func SetNullLogger()
Types ¶
type ContextKey ¶
type ContextKey string
Click to show internal directories.
Click to hide internal directories.