(ctx context.Context, logger *slog.Logger, commitKey bufmodule.CommitKey, message string, fields ...any)
| 37 | } |
| 38 | |
| 39 | func logDebugCommitKey(ctx context.Context, logger *slog.Logger, commitKey bufmodule.CommitKey, message string, fields ...any) { |
| 40 | logger.DebugContext( |
| 41 | ctx, |
| 42 | message, |
| 43 | append( |
| 44 | []any{ |
| 45 | slog.String("digestType", commitKey.DigestType().String()), |
| 46 | slog.String("registry", commitKey.Registry()), |
| 47 | slog.String("commitID", uuidutil.ToDashless(commitKey.CommitID())), |
| 48 | }, |
| 49 | fields..., |
| 50 | )..., |
| 51 | ) |
| 52 | } |
no test coverage detected
searching dependent graphs…