HackMD/lib/web
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
..
auth Rework debug logging 2019-06-08 21:27:29 +02:00
imageRouter Rework debug logging 2019-06-08 21:27:29 +02:00
middleware Fix eslint warnings 2019-05-31 00:30:29 +02:00
baseRouter.js refactor(baseRouter.js): Adjust style fit standard 2017-05-08 19:29:06 +08:00
historyRouter.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
noteRouter.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
statusRouter.js Rework debug logging 2019-06-08 21:27:29 +02:00
userRouter.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
utils.js Allow posting new note with content 2018-01-18 10:41:58 +01:00