10 Commits

Author SHA1 Message Date
Lam Wei Li
c7c72cc879
refactor(test): tap v15 - removed callback from beforeEach() and afterEach()
c363aebf69
2022-01-26 20:12:53 +08:00
abernh
76f91427ba fix(logger.log): warn on invalid log-level
a warning is logged if the `log` method is used with an unknown log-level
this happens whenever people confuse the `log` method with yet another log-level-short method (like in the browser console.log)
adjusted `newLevel-test` accordingly

rel: https://github.com/log4js-node/log4js-node/issues/1042

Signed-off-by: abernh <a.bernhard@23go.de>
2021-02-23 12:02:15 +01:00
Gareth Jones
66fe30e9f4 chore: oh shit I changed the eslint rules 2019-08-01 16:57:32 +10:00
Gareth Jones
9d630af089 test: fixes for node 12 2019-04-25 10:33:36 +10:00
Martin Heidegger
a06e2cc83c chore: updated dependencies (including eslint) 2019-02-20 23:07:23 +09:00
Gareth Jones
d8415fd11b fix: #827 - level overrides 2019-01-29 09:17:03 +11:00
Gareth Jones
906a77403d chore(lint): added linting to test files 2017-11-14 08:45:22 +11:00
Gareth Jones
0d10e2ade5 feat(levels): custom colours for levels in config #90 #254 2017-07-02 23:52:29 +10:00
Gareth Jones
4333261721 fix(levels): added level configuration, fixed smtp appender 2017-03-09 08:28:41 +11:00
Gareth Jones
d685b18a97 fix(test): moved newLevel and subcategories tests to tap 2016-12-28 13:00:21 +11:00