191 Commits

Author SHA1 Message Date
Lam Wei Li
398020df2e
Merge pull request #1402 from mkobayashime/docs-file-appender-remove-color
docs(file): add `removeColor` option of file appender
2024-07-18 15:49:33 +08:00
Daniel Derevjanik
159c138380
Update appenders.md
Add cloudwatch & sentry appenders
2024-06-18 16:17:56 +02:00
Masaki Kobayashi
25ee6f5fa6 docs(file): add removeColor option of file appender 2023-11-04 04:23:24 +09:00
gabriel-cloud
cd8b019e3f add maxLength to recording 2023-05-19 22:02:24 +00:00
Lam Wei Li
c0db6a4a49
docs: added that log4js.getLogger() may call log4js.configure() 2023-03-07 15:05:12 +08:00
Lam Wei Li
979a155e1c
docs: added log4js.isConfigured() 2023-02-20 15:20:33 +08:00
Benoît Lefèvre
0632c2197e feat issue #1341 (Layouts) : taking into account code review's feedback 2022-12-03 22:49:28 +01:00
Benoît Lefèvre
ab43399200 feat issue #1341 (Layouts) : fix typo & add related doc entry 2022-11-28 10:04:25 +01:00
Thomas Kaul
b1e91f0fa2
Fix typo 2022-10-24 11:05:30 +02:00
Lam Wei Li
4c12243d26
docs: updated api.md for setParseCallStackFunction 2022-10-02 02:54:59 +08:00
Zachary Haber
b1598c04c7
feat: add error to logging event from logger 2022-09-30 00:55:20 +08:00
Zachary Haber
4ffbcae8b2
chore: update docs 2022-09-29 23:35:57 +08:00
Lam Wei Li
2523e17a15
chore(deps-dev): bump prettier from 1.19.1 to 2.7.1 2022-09-28 17:22:38 +08:00
Lam Wei Li
084479c351
Merge pull request #1322 from gkalpak/patch-2
docs(noLogFilter): fix heading (`Category Filter` --> `No-Log Filter`)
2022-09-07 17:18:56 +08:00
George Kalpakas
23e3a86161
docs(noLogFilter): fix heading (Category Filter --> No-Log Filter) 2022-09-07 10:27:50 +03:00
George Kalpakas
663f6c2d5c
docs(migration-guide): fix typo (have been remove --> have been removed) 2022-09-06 15:41:16 +03:00
Lam Wei Li
c7b3814f0d
docs: updated documentation 2022-09-03 17:13:49 +08:00
Lam Wei Li
462e35a1fb
refactor(#1316): code flow and readability (%C:class, %M:function, %A:alias, %F:full - in order) 2022-09-01 21:54:54 +08:00
Pawel Soltys
397b06e15f FEAT: documentation for %F field 2022-09-01 12:48:10 +02:00
Pawel Soltys
396a4de469 FEAT: patternLayout function name, class name and function alias
Added to patternLayout the following fields:

- %M - function name of the caller issuing the logging request
- %C - class name of the caller issuing the logging request
- %A - function alias of the caller issuing the logging request

The first two come from log4j, and use the same field specifiers.

When called from method bar of a Class foo:

- %M will be replaced with bar
- %C will be replaced with Foo
- %A will be empty

When called from function foo:

- %M will be replaced with foo
- %C will be empty
- %A will be empty

%A will be non empty only if the call stack parsed to obtain the values
contains string [as foo].
2022-08-27 22:00:53 +02:00
Lam Wei Li
3763c1a4c2
style: ran prettier 2022-08-15 11:28:48 +08:00
Lam Wei Li
95e2d8cb8a
docs: added quotes for just-errors JSON property key 2022-08-15 11:27:39 +08:00
Lam Wei Li
4bc5589a28
style: ran prettier 2022-07-26 03:07:06 +08:00
Eugene YOBOUE
3279647175 chore(feat): Update #1279 docs 2022-07-03 19:47:47 +00:00
Zachary Haber
cad9555948
style: run prettier:fix 2022-06-23 01:00:07 +08:00
Lam Wei Li
e20e24f136
docs: updated fileAppender maxLogSize documentation 2022-05-20 01:30:26 +08:00
Lam Wei Li
c0de05120d
chore(docs): updated usage of units for maxLogSize 2022-05-13 03:32:03 +08:00
Lam Wei Li
313553e12f
chore(docs): added spacing for consistent formatting 2022-05-13 00:00:16 +08:00
Lam Wei Li
126e286c1a
chore(docs): updated documentation 2022-05-12 00:56:18 +08:00
Lam Wei Li
104d271de5
Merge pull request #985 from leonimurilo/patch-1
Update Loading mechanism instruction #1
2022-03-22 11:04:02 +08:00
Lam Wei Li
25a47388a3
chore(docs): updated writing-appenders.md 2022-03-22 11:00:42 +08:00
Lam Wei Li
a1b6929b7f
Merge pull request #1219 from log4js-node/update-docs
chore(docs): updated docs for broken links and inaccessible pages
2022-03-21 13:18:19 +08:00
Lam Wei Li
b23f208165
chore(docs): fixed broken links 2022-03-21 13:18:16 +08:00
Lam Wei Li
878ae0e2a7
chore(docs): added links to pages that were not accessible 2022-03-21 13:18:14 +08:00
Matt Alexander
68a85f956e
Broken link to https://github.com/log4js-node/gelf 2022-03-21 13:18:12 +08:00
Lam Wei Li
7a16cfbef1
chore(docs): updated logger api docs 2022-03-08 22:59:27 +08:00
Lam Wei Li
7a26cb01a4
Merge pull request #1203 from log4js-node/update-docs
chore(docs): updated logger api docs
2022-03-08 17:56:59 +08:00
Lam Wei Li
3e270c0673
chore(docs): updated logger api docs 2022-03-08 17:51:38 +08:00
Lam Wei Li
faef3d20f6
chore(docs): updated fileSync appender docs 2022-03-08 17:25:51 +08:00
Lam Wei Li
d894f57305
chore(docs): updated file appender docs 2022-03-08 17:25:39 +08:00
Lam Wei Li
110a008ae6
Update dateFile.md 2022-01-29 00:40:34 +08:00
Lam Wei Li
e2947474c7
Update file.md 2022-01-29 00:39:37 +08:00
Lam Wei Li
98c9c3513f
Update dateFile.md 2022-01-29 00:34:42 +08:00
Lam Wei Li
e43aa10efe
Merge pull request #1182 from log4js-node/update-docs
chore(docs) - updated file appender doc
2022-01-29 00:31:52 +08:00
Lam Wei Li
eeb4e94cd3
chore(docs) - updated file appender doc 2022-01-29 00:27:16 +08:00
Lam Wei Li
68e70029a9
Merge pull request #1181 from log4js-node/update-docs
chore(docs) - updated dateFile appender docs
2022-01-29 00:26:25 +08:00
Lam Wei Li
28388888c5
chore(docs) - updated dateFile appender docs 2022-01-29 00:21:52 +08:00
Lam Wei Li
313eb22dc5
chore(docs): corrected typo in sample code for multiFile appender 2022-01-28 16:32:20 +08:00
Lam Wei Li
bedbc4152f
refactor date pattern names for clarity (when %date actually means %datetime) 2022-01-23 21:20:26 +08:00
Lam Wei Li
53248cd564
Merge pull request #1149 from log4js-node/migrate-daysToKeep-to-numBackups
chore(deps): migrated from daysToKeep to numBackups due to streamroller@^3.0.0
2022-01-19 23:33:19 +08:00