Add debug logging

This commit is contained in:
Chris Josten 2020-06-24 22:04:31 +02:00
parent acd02aea20
commit 09fdfeb112
1 changed files with 6 additions and 0 deletions

View File

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