Update LogAnnotation.toString() to return Optional<String>.