Zachary Haber
cad9555948
style: run prettier:fix
2022-06-23 01:00:07 +08:00
Tobias Speicher
aeff6dc882
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-27 01:47:47 +01:00
Lam Wei Li
06e6708db9
chore(refactor): clone category from parent/default when it does not exist instead of during logger.level
2022-03-21 13:18:05 +08:00
Lam Wei Li
17bbc78401
chore(fix): when logger.level clones category from parent/default, to also clone over useCallStack
2022-03-21 13:18:00 +08:00
peteriman
23330546a9
Added automated test to assert appenders and categories are reverted back to initial state on log4js.shutdown()
2022-01-17 10:06:35 +08:00
peteriman
1e066b9bfa
Patched file descriptor leak by:
...
- subsequent log4js.configure() will run log4js.shutdown() first
- log4js.shutdown() will always clear/reset existing appenders and categories
2022-01-04 15:56:36 +08:00
Wataru Ashihara
a81500b7e6
style: conform @param to official style
...
ref. https://jsdoc.app/tags-param.html
2020-05-04 09:13:36 +09:00
Jimmy Huang
c49ea03ca6
revert: remove global useCallStack
2019-05-17 15:10:39 +08:00
Jimmy Huang
b5e7db28fc
chore: check category.enableCallStack when config
2019-05-16 20:04:33 +08:00
Jimmy Huang
9d1e325238
feat: add category enableCallStack opt. (default: false)
2019-05-16 16:53:27 +08:00
Paul Harapiak
6bff3bb7f4
feat(categoryInheritance): using preProcessingListener
...
for preparing config before validation and interpretation
2019-05-04 12:10:16 -04:00
Paul Harapiak
3b81a6b429
feat: add appender and level inheritance
...
feat: add appenders and level inheritance
feat: inherit appenders and level from base
feat: inherit appenders, handle empty categories
2019-04-25 22:37:24 -04:00
Martin Heidegger
a06e2cc83c
chore: updated dependencies (including eslint)
2019-02-20 23:07:23 +09:00
Gareth Jones
d52734471d
fix(test): all tests passing except server
2018-02-05 07:04:46 +11:00
Gareth Jones
11b21ce773
fix(webpack): added loading of core appenders
2018-02-01 07:58:46 +11:00
Gareth Jones
8084e80027
fix(tests): tests failing - config listeners not working in sandbox
2018-01-17 08:24:50 +11:00