Zachary Haber
cad9555948
style: run prettier:fix
2022-06-23 01:00:07 +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
Gareth Jones
66fe30e9f4
chore: oh shit I changed the eslint rules
2019-08-01 16:57:32 +10:00
Gareth Jones
d8415fd11b
fix : #827 - level overrides
2019-01-29 09:17:03 +11:00
Gareth Jones
82760865fd
fix( #768 ): allow config to use level objects
2018-08-02 08:03:22 +10:00
Gareth Jones
8084e80027
fix(tests): tests failing - config listeners not working in sandbox
2018-01-17 08:24:50 +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
5283782ba0
refactor(all): basic logging to stdout works again
...
- removed config reloading
- removed console replacement
- added recording appender
- added config validation
- changed config format
2017-02-05 10:05:49 +11:00
e-cloud
bdeb7b9c41
refactor: level.js
...
pick the getLevel function back from log4js.js
2016-07-14 22:06:01 +08:00
e-cloud
5328e03802
refactor: just format code according to the editor config(tests passed)
2016-07-14 17:36:30 +08:00
Blake Ambrose
8e0a0f9f53
Added ability to add custom log levels to client, simillar to log4j for java
2016-06-08 11:51:36 +10:00
Nathan Woltman
c99783031f
Improve logging performance
...
Allow V8 to optimize the logging functions by not leaking the arguments object
and reduce the number of object accesses in the toLevel function.
This results in a performance improvement of about 11%.
2016-02-07 19:53:05 -05:00
Luis Malheiro
1e999f36d7
Fix and test for MARK level.
2014-09-08 12:17:50 +02:00
Luis Malheiro
6fa998408a
Adds subcategories to the appenders and loggers. Adds property "level" at the file appender to limit the levels that a file appender accepts.
...
Creates a MARK category that always write to the log. That's useful to write things like '---- STARTED ----'.
2014-08-29 16:33:32 +02:00
Gareth Jones
516320c79a
more linting
2013-05-30 08:26:03 +10:00
Gareth Jones
a046523804
Moved Logger into separate file, added support for loading appenders outside log4js, removed 'name' from appender requirements
2012-06-01 11:11:07 +10:00
Gareth Jones
61078e88ef
fixed the nolog tests
2012-05-09 16:40:27 +10:00
Mike Bardzinski
2c7b56853b
Changed toLevel to accept a Log4js.Level (or in fact any object), and try to convert it to a Log4js.Level. Fixes the setLevel asymmetry, where you cannot setLevel(log4js.level.foo)
2012-05-02 15:41:32 +01:00
Gareth Jones
e78f4e33ce
Fixed issue #51 , added tests to cover levels
2012-02-22 14:14:46 +11:00
Gareth Jones
d7ffa59434
moved level colours into layouts where they belong, updated README
2011-07-13 18:29:53 +10:00
Gareth Jones
f89d54b66e
removed main function, now using felixge's sandboxed-module, split code into multiple files
2011-07-12 13:03:17 +10:00