Add debug logging

This commit is contained in:
Chris Josten 2020-06-24 22:04:31 +02:00
parent acd02aea20
commit 09fdfeb112

View file

@ -109,7 +109,13 @@ class Page {
string line; string line;
while ((line = pandoc.stdout.readln()) !is null) { while ((line = pandoc.stdout.readln()) !is null) {
result ~= line; result ~= line;
logf("Pandoc stdout: %s", line);
} }
while ((line = pandoc.stderr.readln()) !is null) {
logf("Pandoc stderr: %s", line);
}
return result; return result;
} }