summaryrefslogtreecommitdiffstats
path: root/lib/output/base.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/base.js')
-rw-r--r--lib/output/base.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/output/base.js b/lib/output/base.js
index e0b58b4..fe792ee 100644
--- a/lib/output/base.js
+++ b/lib/output/base.js
@@ -61,7 +61,7 @@ Output.prototype.generate = function() {
// Initialize the generation
.then(function() {
- that.log.debug.ln('preparing the generation');
+ that.log.info.ln('preparing the generation');
return that.prepare();
})
@@ -106,6 +106,9 @@ Output.prototype.generate = function() {
if (!that.book.isMultilingual()) return;
return Promise.serie(that.book.books, function(subbook) {
+ that.log.info.ln('');
+ that.log.info.ln('start generation of language "' + path.relative(that.book.root, subbook.root) + '"');
+
var out = that.onLanguageBook(subbook);
return out.generate();
});
@@ -118,6 +121,7 @@ Output.prototype.generate = function() {
})
.then(function() {
+ if (!that.book.isLanguageBook()) that.log.info.ln('');
that.log.info.ln('generation finished with success!');
});
};