[texdoc-commits] [TeX-Live/texdoc] bc084c: improve logging functions

Takuto ASAKURA noreply at github.com
Tue Mar 19 10:10:16 CET 2019


  Branch: refs/heads/work
  Home:   https://github.com/TeX-Live/texdoc
  Commit: bc084c69345fa6b786f2c2e61d63a06ee4ec4192
      https://github.com/TeX-Live/texdoc/commit/bc084c69345fa6b786f2c2e61d63a06ee4ec4192
  Author: Watson <wtsnjp at gmail.com>
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
    M script/texdoclib-confutil.tlu
    M script/texdoclib-score.tlu
    M script/texdoclib-search.tlu
    M script/texdoclib-util.tlu
    M script/texdoclib-view.tlu

  Log Message:
  -----------
  improve logging functions

Change to use string.format by default in texdoc.util.{err,dbg}_print
functions. This will improve the readability of the code. At the same time, by
using the format strings, the output difference between Lua <5.2 and 5.3 is
uniformed (see #34).




More information about the texdoc-commits mailing list