<#C03N1E6HFPY|help> Hello, I am writing an extens...
# wiremock-java
#help Hello, I am writing an extension in Java. What is the easiest way for me to add information into the logging from my extension class? I tried appending SubEvents using the SubEvent info/warning/error events but I don’t see anything logged with
. What is the recommended way for me to log info/warnings and errors from my extension? Thanks
We’re in kind of a transitional phase at the moment. Adding sub-events is the right thing to do, and these will appear in the request log -
. But they’re not emitted in the console/slf4j log yet so if you need that then the best way is to call
OK, thanks @Tom. Nice to meet you, WireMock is great!
Thanks, and nice to meet you too!