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
Gareth Jones
af086bcc80
docs: added pause/resume info for file appenders
2019-11-19 08:48:52 +11:00
Gareth Jones
2f45b084fb
fix: truncation and padding for stacktraces
2019-10-22 08:58:46 +11: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