Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support method chaining in forage Logger #284

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

devinmorgan
Copy link
Contributor

@devinmorgan devinmorgan commented Jun 24, 2024

What

  1. Each Log method now returns the current instance (this).
  2. Updated implementations of Log interface to reflect this change.

Why

This change allows for a fluent interface when using the Log methods, making the logging implementation more expressive and chaining multiple log actions in a more concise way.

Test Plan

  • ✅ Existing unit tests have been updated
  • ❌ Passing CI and unit tests are sufficient

Demo

N/A implementation detail

How

I've marked this PR to merge once eligibility

Copy link
Contributor Author

devinmorgan commented Jun 24, 2024

@devinmorgan devinmorgan marked this pull request as ready for review June 24, 2024 17:46
@devinmorgan devinmorgan force-pushed the devin/simplify-pin-text-watcher branch from 4d9ed7f to 92f75e6 Compare June 27, 2024 12:11
@devinmorgan devinmorgan force-pushed the devin/method-chaining-in-forage-logger branch from 259dfbc to e383a62 Compare June 27, 2024 12:11
@devinmorgan devinmorgan force-pushed the devin/simplify-pin-text-watcher branch from 92f75e6 to a4d0ae1 Compare July 9, 2024 20:43
@devinmorgan devinmorgan changed the base branch from devin/simplify-pin-text-watcher to main July 9, 2024 20:45
method chaining can help reduce code verbosity so it's a nice quality of
life improvement that the pos repo already has

Signed-off-by: Devin Morgan <[email protected]>
@devinmorgan devinmorgan force-pushed the devin/method-chaining-in-forage-logger branch from e383a62 to 39eac6b Compare July 9, 2024 20:52
Copy link
Contributor Author

devinmorgan commented Jul 9, 2024

Merge activity

  • Jul 9, 4:53 PM EDT: Graphite rebased this pull request as part of a merge.
  • Jul 9, 4:54 PM EDT: @devinmorgan merged this pull request with Graphite.

@devinmorgan devinmorgan merged commit 163283e into main Jul 9, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants