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

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


  Branch: refs/heads/work
  Home:   https://github.com/TeX-Live/texdoc
  Commit: 78cedcb1607f979bbf4d2396b349c29f86ee0257
      https://github.com/TeX-Live/texdoc/commit/78cedcb1607f979bbf4d2396b349c29f86ee0257
  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