use json for logged annotation form

This commit is contained in:
Jonathan Shook 2020-12-07 01:49:55 -06:00
parent 6248b0e2ab
commit a06be5fcc9

View File

@ -28,7 +28,8 @@ public class LoggingAnnotator implements Annotator, ConfigAware {
@Override @Override
public void recordAnnotation(Annotation annotation) { public void recordAnnotation(Annotation annotation) {
annotationsLog.log(level, annotation.toString()); String inlineForm = annotation.asJson();
annotationsLog.log(level, inlineForm);
} }
/** /**