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

Modified ConsoleLogger to output array parameter values #2821

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

slovely
Copy link
Contributor

@slovely slovely commented Nov 27, 2023

Not sure if this is something you may be interested in. It's a minor change to the ConsoleLogger to output actual parameter values for arrays, rather than just something like p0: System.Collections.Generic.List1[System.Guid]`. Instead output is:

  p0: [0]: 018bcff3-2301-49b6-9558-324553be0cb6; [1]: 018bf295-a374-447e-bed1-767e98aa48aa; [2]: 118bf295-a374-447e-bed1-767e98aa48aa; [3]: 218bf295-a374-447e-bed1-767e98aa48aa; [4]: 318bf295-a374-447e-bed1-767e98aa48aa;  + 1 more

Arbitrarily only displays the first 5 values to avoid clogging up logs too much.

Made my life debugging a test slightly easier, but not sure if it is of general use.

@jeremydmiller jeremydmiller added this to the 7.0.0 milestone Nov 27, 2023
@jeremydmiller jeremydmiller merged commit 3b53f27 into JasperFx:master Nov 27, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants