Defining a log and logging

Hi,

I’m defining a logger like:

val logger = org.slf4j.LoggerFactory.getLogger(this.getClass)

I’d like to use that logger to log several things. Taking my code below, how do I log the result of a jsonPath check or the value stored in session with saveAs?

...
.exec(http("generate token")
  .get("hyt/gnrttkn")
  .check(jsonPath("$.type").is("READY_TO_INIT"))     
  .check(jsonPath("$.token").find.saveAs("token")))
...

Thanks