I am working on a simple extension written in Java something similar to the
asciidoctorj-twitter-extension I have added into the maven examples repo. It takes some parameters and create a link.
My question is simple: in some cases (wrong parameter or unexpected state), I am not able to compute the link and I fallback to just a text. In the console I would like to log something:
asciidoctor: WARNING: <file>: line <n>: <my message>
Asciidoctor has already such warnings:
asciidoctor: WARNING: document.adoc: line 318: no callouts refer to list item 2
Is there some support in Java? I am writing code in a class extending org.asciidoctor.extension.InlineMacroProcessor.
I am for the moment using the 1.5.x API (migration to 1.6.x is planned)