Is there a way to fill with spaces after the variable $nameIdDocument so that the 2nd variable (${resultPreventRequest.documentType}) always shows up at the spot ?
I like to have logger messages aligned vertically. I would like to have PASSEPORT and RESIDENCE_PERMIT start at the same position.
Here the code I execute, and the image attached is what is printed by the logger.
LOGGERCTRLONE.info("Correctly Read document | doctype found : $nameIdDocument | ${resultPreventRequest.documentType}")
I tried the java synthax with %s-20 but it does nothing, regardless where it is positionned.
I have looked up online and there is no subject about this alignement problem in Kotlin.