180 Commits

Author SHA1 Message Date
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
Lam Wei Li
d6b017e720
chore(docs): updated fileSync.md and misc comments 2022-01-19 23:30:10 +08:00
Lam Wei Li
d4617a730d
chore(deps): migrated from daysToKeep to numBackups due to streamroller@^3.0.0 2022-01-19 23:24:14 +08:00
peteriman
8042252861
Changed default file modes from 0o644 to 0o600 for better security 2022-01-16 22:09:32 +08:00
Gareth Jones
8a152636a4
Merge pull request #1018 from iassasin/docs-other-appenders
Add section in documentation for links to other appenders
2020-05-25 08:35:14 +10:00
Gareth Jones
493736700c
Merge pull request #1014 from rnd-debug/docs-influxAppender
docs: adding mention of InfluxDB appender
2020-05-25 08:26:53 +10:00
iassasin
6d0edf1f2c add section in documentation for links to other appenders 2020-05-24 13:06:30 +03:00
rnd-debug
8d2f69c336 docs: adding mention of InfluxDB appender 2020-05-19 06:04:46 +02:00
rnd-debug
6a6cbdb383 docs: improving default example in categories.md 2020-05-03 11:11:27 +02:00
rnd-debug
90fdcaacc5 docs: adding doc about categories 2020-05-03 11:03:17 +02:00
rnd-debug
ceae893896 feat: TCP appender - enabling a custom EndMsg token and a custom Layout 2020-04-12 19:34:06 +02:00
Leoni Murilo de Lima
5679eed022
Update Loading mechanism instruction #1
Update Loading mechanism instruction (number 1 in priority) to match the current behaviour of the library.
2020-01-28 15:34:44 -03:00