625 Commits

Author SHA1 Message Date
Gareth Jones
5c5f54fcf7 fix: tcp-server needs to be loaded even if no categories 2020-05-25 08:55:04 +10:00
Gareth Jones
ff475b9d07
Merge pull request #1015 from lauren-li/fix-webpack-fileSync
fix: fileSync was missing from core appenders
2020-05-25 08:28:35 +10:00
Gareth Jones
fe0713ae08
Merge pull request #1004 from wataash/style-param
style: conform @param to official style
2020-05-25 08:22:59 +10:00
Gareth Jones
4b0c6f41ad
Merge pull request #1002 from rnd-debug/donot-create-appender-if-not-used
Donot create appender if not used
2020-05-25 08:19:47 +10:00
Lauren Li
5468dd7c41 fix: fileSync was missing from core appenders 2020-05-19 16:45:41 -04:00
Cocoa
52185a4984
Fixed ESLint no-else-return error
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-09 04:39:04 +08:00
Cocoa
8cfe1627c6
Only detects ANSI color codes for data in string type
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-09 04:20:49 +08:00
Cocoa
40b5f09fe8
Using regexp literal and .map instead of a loop for replacing
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-07 16:23:20 +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
rnd-debug
aabc15d491 style: style fix 2020-05-03 09:59:06 +02:00
rnd-debug
3cb7f52fce fix: will not try to create appender if it is not used in categories 2020-05-03 09:48:47 +02:00
Cocoa
0fda5c5094
Added test for removeColor option
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 16:11:23 +08:00
Cocoa
e26d35acfe
Using eslint-disable-next-line
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 15:54:33 +08:00
Cocoa
9a29125e72
Disable no-control-regex rule for the line containing \x1b in regex
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 15:53:07 +08:00
Cocoa
b18846c297
Fixed ESLint errors
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 15:18:40 +08:00
Cocoa
f25c8ed782
Added support for removing embeded color sequence for file appender
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 05:24:18 +08:00
rnd-debug
ceae893896 feat: TCP appender - enabling a custom EndMsg token and a custom Layout 2020-04-12 19:34:06 +02:00
Mike Vastola
5aec282f06 fix: Allow appenders to depend on not-yet-loaded appenders.
Close #746
2020-02-01 16:57:20 -05:00
aaropn-edwards
a1197982e2 fix: Adds guards for undefiend callback functions in shutdown method
This fixes issue #971
2019-11-21 10:14:17 +11:00
Gareth Jones
fa5b566884 chore: tidied up the language in pause test, fixed a date file mock 2019-11-19 08:35:28 +11:00
Gareth Jones
d7cf0ffe31 Merge branch 'master' of https://github.com/log4js-node/log4js-node 2019-11-19 08:27:33 +11:00
Gareth Jones
a859fe4ab0 chore: made language of pause and resume a bit clearer in test 2019-11-19 08:27:24 +11:00
Gareth Jones
dab0a06139
Merge pull request #965 from shayantabatabaee/master
fix: Add pause event to dateFile logger
2019-11-19 08:25:06 +11:00
shayan tabatabaee
3ff4d8b297 fix: Add pause event to dateFile logger 2019-11-15 11:56:19 +03:30
Gareth Jones
5c67e4aa94
Merge pull request #938 from shayantabatabaee/master
[enhancement]Emit pause event for node js when buffer is full
2019-11-15 08:28:49 +11:00
shayan tabatabaee
1a4201878e fix: Adding log4js namespace to pause event 2019-11-13 09:02:11 +03:30
Gareth Jones
2f45b084fb fix: truncation and padding for stacktraces 2019-10-22 08:58:46 +11:00
shayan tabatabaee
58bc2ed017 [enhancement]Emmit pause event for node js when buffer is full 2019-09-09 00:20:55 +04:30
Gareth
3c31de3589 chore: updated streamroller dep, fixed test on windows 2019-08-23 08:11:26 +10:00
Gareth
5addabd6f6 chore: changes to get tests passing on windows 2019-08-16 14:26:39 +10:00
Gareth Jones
1ba8403bfe fix: handle cluster module not existing 2019-08-12 08:32:27 +10:00
Gareth Jones
8db199f08f chore: more eslint fallout 2019-08-07 08:26:04 +10:00
Gareth Jones
ab32e753b2 chore: improved coverage in log4js.js 2019-08-02 10:51:21 +10:00
Gareth Jones
66fe30e9f4 chore: oh shit I changed the eslint rules 2019-08-01 16:57:32 +10:00
Gareth Jones
edf2535130 chore: improved layouts test coverage 2019-08-01 15:05:28 +10:00
Gareth Jones
863ac65227 chore: made one of the tests simpler trying to diagnose a weird problem 2019-07-15 12:00:51 +10:00
Gareth Jones
42d38e6236 docs: fixed a couple of spelling errors 2019-07-10 08:46:15 +10:00
Gareth Jones
f428d7d0fd
Merge pull request #913 from rommni/feature/fileNameTruncate
feat: add delimiter for fileName depth to %f layout patern
2019-07-10 08:18:21 +10:00
Romain
4f9e2a3b86 feat: allow to change default way to parse callstack 2019-07-09 11:54:38 +02:00
Romain
e70d13200c feat: add delimiter for fileName depth to %f layout patern 2019-07-09 11:00:49 +02:00
Gareth Jones
39cd2ef3f6 docs: added explanation of passing appender module in config, and types 2019-06-26 07:57:28 +10:00
Gareth Jones
e0abff4c86
Merge pull request #833 from kaxelson/832-appender-instance
feature: adding the option to provide appender instance in config
2019-06-25 08:44:16 +10:00
Gareth Jones
f5c73efc44 fix(#887): map maxLogSize to maxSize 2019-05-29 08:32:38 +10:00
Gareth Jones
b51d8b0994 chore: removed unused lines 2019-05-23 08:15:13 +10:00
Gareth Jones
b8db0b5b07 fix: loglevelfilter was missing from core appenders 2019-05-21 08:50:37 +10:00
Jimmy Huang
ea6cbf06b0 test: add output '' when callstack info not exist 2019-05-20 11:39:19 +08:00
Jimmy Huang
c49ea03ca6 revert: remove global useCallStack 2019-05-17 15:10:39 +08:00
Jimmy Hunag
a564ce4b5f test: add & fix test 2019-05-16 23:30:16 +08:00
Jimmy Huang
5342a8dcd5 feat: add log4js.useCallStack() to enable/disable all loggers' callStack 2019-05-16 20:24:44 +08:00
Jimmy Huang
b5e7db28fc chore: check category.enableCallStack when config 2019-05-16 20:04:33 +08:00