- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for LogAlwaysIf (0.05 sec)
-
cmd/logging.go
logger.LogIf(ctx, "peers", err, errKind...) } } func peersLogAlwaysIf(ctx context.Context, err error, errKind ...interface{}) { if !errors.Is(err, grid.ErrDisconnected) { logger.LogAlwaysIf(ctx, "peers", err, errKind...) } } func peersLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) { if !errors.Is(err, grid.ErrDisconnected) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 03 18:49:48 UTC 2024 - 7.1K bytes - Viewed (0) -
internal/logger/logger.go
func HashString(input string) string { hh, _ := highwayhash.New(magicHighwayHash256Key) hh.Write([]byte(input)) return hex.EncodeToString(hh.Sum(nil)) } // LogAlwaysIf prints a detailed error message during // the execution of the server. func LogAlwaysIf(ctx context.Context, subsystem string, err error, errKind ...interface{}) { if err == nil { return } logIf(ctx, subsystem, err, errKind...) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0)