HackMD/lib
Sheogorath b5fc6db75d
Rework debug logging
We have various places with overly simple if statements that could be
handled by our logging library. Also a lot of those logs are not marked
as debug logs but as info logs, which can cause confusion during
debugging.

This patch removed unneeded if clauses around debug logging statements,
reworks debug log messages towards ECMA templates and add some new
logging statements which might be helpful in order to debug things like
image uploads.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-06-08 21:27:29 +02:00
..
config Fix eslint warnings 2019-05-31 00:30:29 +02:00
migrations Fix eslint warnings 2019-05-31 00:30:29 +02:00
models Rework debug logging 2019-06-08 21:27:29 +02:00
ot Fix logging in ot module 2018-11-13 23:30:13 +01:00
web Rework debug logging 2019-06-08 21:27:29 +02:00
workers Rework debug logging 2019-06-08 21:27:29 +02:00
csp.js Merge pull request #1105 from SISheogorath/fix/gistCSP 2018-12-21 18:39:22 +01:00
history.js Rework debug logging 2019-06-08 21:27:29 +02:00
letter-avatars.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
logger.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
realtime.js Rework debug logging 2019-06-08 21:27:29 +02:00
response.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
utils.js switch to __dirname 2017-06-02 11:34:35 +01:00