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

Make LoggingEvent#getFormattedMessage public #23

Closed
chrylis opened this issue May 30, 2018 · 0 comments
Closed

Make LoggingEvent#getFormattedMessage public #23

chrylis opened this issue May 30, 2018 · 0 comments

Comments

@chrylis
Copy link

chrylis commented May 30, 2018

In my test, I want to assert that the log message that is written does not contain specific personal information (this may be present in the object argument, for example, but the object's toString() should not include it in the final written log message). However, the only public API available is direct inspection of the unformatted log arguments.

There exists a method getFormattedMessage() that produces exactly the information I am looking for, but it is marked private. It would be very useful for this method to be public.

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

No branches or pull requests

1 participant