final FormattingResultLog resultLog = new FormattingResultLog();
resultLog.debug("Checking expression [{}], language extension=[{}]", expression, languageExtension);
try {
final ScriptEngine engine = scriptEngineManager.getEngineByExtension(languageExtension);
if (engine == null) {
resultLog.healthCheckError("No ScriptEngine available for extension {}", languageExtension);
} else {
// Set Bindings, with our ResultLog as a binding first, so that other bindings can use it
final Bindings b = engine.createBindings();
b.put(FormattingResultLog.class.getName(), resultLog);
synchronized (bindingsValuesProviders) {