summaryrefslogtreecommitdiffstats
path: root/lib/generators/website.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-25 14:55:37 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-25 14:55:37 +0100
commit06ab84abe33a131c089f42bf0bd9ede8deb6e671 (patch)
tree2b011ec994ad3e085fd7e8db741294f8c67b09a0 /lib/generators/website.js
parentbb5761e88548f607e3b0dc6b8e03c652c93a9511 (diff)
downloadgitbook-06ab84abe33a131c089f42bf0bd9ede8deb6e671.zip
gitbook-06ab84abe33a131c089f42bf0bd9ede8deb6e671.tar.gz
gitbook-06ab84abe33a131c089f42bf0bd9ede8deb6e671.tar.bz2
Improve logger module
Diffstat (limited to 'lib/generators/website.js')
-rw-r--r--lib/generators/website.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js
index bb2daa1..d0c842f 100644
--- a/lib/generators/website.js
+++ b/lib/generators/website.js
@@ -132,7 +132,7 @@ Generator.prototype.writeParsedFile = function(page) {
var basePath = path.relative(path.dirname(output), this.options.output) || ".";
if (process.platform === 'win32') basePath = basePath.replace(/\\/g, '/');
- that.book.logInfo("write parsed file", page.path, "to", relativeOutput);
+ that.book.log.info.ln("write parsed file", page.path, "to", relativeOutput);
return that.normalizePage(page)
.then(function() {
return that._writeTemplate(that.templates["page"], {