logfellow/logstash-logback-encoder

`getFieldValue()` is not accessible

diegomarquezp opened this issue · 2 comments

Hello, since 7.1 we are having issues in our test code that deals with getFieldValue() (tracked in GoogleCloudPlatform/spring-cloud-gcp#1764). This method was declared protected in #720 , apparently only intended to change the return type of this method. Is it possible to change it back to public?

Thank you!

Hi @diegomarquezp

The marker classes are not currently designed to be consumed outside of logstash-logback-encoder. Backwards compatibility is not guarenteed for them. They are public only because the library needs to access them from a different package (net.logstash.logback.argument) for structured arguments.

Can you provide some more details about why you need to access them?