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

Printing the Spec Object (logging) #18

Open
yanivl78 opened this issue Jul 8, 2020 · 1 comment
Open

Printing the Spec Object (logging) #18

yanivl78 opened this issue Jul 8, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yanivl78
Copy link

yanivl78 commented Jul 8, 2020

Hello.
We would like to pring and log the Request content that been send via the rest api controller , into a log or system.out.

how can this be done? the API doesnt have any method to print. toString brings the ref to the stack , without content.

@SearchSpec Specification<Dol> filter, Sort sort

Our point is to print "filter"

Please Assist?

@luc-boussant
Copy link
Contributor

There is a debug log for the request that logs the class Dol and the search query param that will be used to build the specification.
Moreover to print the filter parameter with a pretty format, we would need to add a method to the SpecificationImpl interface.
Did you have a particular format in mind for what you would want the pretty print to be ?

@luc-boussant luc-boussant added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants