diff options
author | Sergey Avseyev <sergey.avseyev@gmail.com> | 2015-06-13 10:35:55 +0300 |
---|---|---|
committer | Sergey Avseyev <sergey.avseyev@gmail.com> | 2015-06-13 14:41:08 +0300 |
commit | 0fe54a5e14bae4931cd69dd88a5563eb5e23bdf7 (patch) | |
tree | 03982f6fb8680253f9f0901df2041696fc1170fa /lib/packages | |
parent | 70e157d79e3953dcb122dac46e9e5ca5eacdfd99 (diff) | |
download | Nim-0fe54a5e14bae4931cd69dd88a5563eb5e23bdf7.tar.gz |
Fix logger formatting
Motivation ---------- Current implementation does not allow to specify any formatting. It even cannot output log level, because `writeln()` accepts `varags[string]` and silently ignores everything before last argument. Modification ------------ Perform formatting in the single place during substitution. Make log level optional as all other substitution variables. Also make verbose logging more informative and parseable. Result ------ Correct handling formatting and substitutions. Machine-friendly default output of verbose logger.
Diffstat (limited to 'lib/packages')
0 files changed, 0 insertions, 0 deletions