diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-25 14:55:37 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-25 14:55:37 +0100 |
commit | 06ab84abe33a131c089f42bf0bd9ede8deb6e671 (patch) | |
tree | 2b011ec994ad3e085fd7e8db741294f8c67b09a0 /lib/generators/ebook.js | |
parent | bb5761e88548f607e3b0dc6b8e03c652c93a9511 (diff) | |
download | gitbook-06ab84abe33a131c089f42bf0bd9ede8deb6e671.zip gitbook-06ab84abe33a131c089f42bf0bd9ede8deb6e671.tar.gz gitbook-06ab84abe33a131c089f42bf0bd9ede8deb6e671.tar.bz2 |
Improve logger module
Diffstat (limited to 'lib/generators/ebook.js')
-rw-r--r-- | lib/generators/ebook.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/generators/ebook.js b/lib/generators/ebook.js index 88159f3..1bad718 100644 --- a/lib/generators/ebook.js +++ b/lib/generators/ebook.js @@ -31,7 +31,7 @@ Generator.prototype.prepareTemplates = function() { Generator.prototype.writeSummary = function() { var that = this; - that.book.logInfo("write SUMMARY.html"); + that.book.log.info.ln("write SUMMARY.html"); return this._writeTemplate(this.templates["summary"], {}, path.join(this.options.output, "SUMMARY.html")); }; @@ -98,7 +98,7 @@ Generator.prototype.finish = function() { stringUtils.optionsToShellArgs(_options) ].join(" "); - that.book.logInfo("start conversion to", that.ebookFormat); + that.book.log.info.ln("start conversion to", that.ebookFormat); exec(command, function (error, stdout, stderr) { if (error) { if (error.code == 127) { |