2090 Commits

Author SHA1 Message Date
Lam Wei Li
ae75c368f6
Merge pull request #1328 from log4js-node/update-ci
ci: skip prettier on older Node.js (8.x, 10.x, 12.x)
2022-09-28 17:14:11 +08:00
Lam Wei Li
2591afb379
ci: skip prettier on older Node.js (8.x, 10.x, 12.x) 2022-09-28 17:05:21 +08:00
Lam Wei Li
c0e211f6f4
ci: manually downgrade dev dependencies for older versions 2022-09-28 17:05:18 +08:00
Lam Wei Li
f94c799dab
Merge pull request #1327 from log4js-node/update-deps
chore(deps): updated dependencies
2022-09-27 22:46:21 +08:00
Lam Wei Li
f4d050ce98
chore(deps): updated package-lock.json 2022-09-27 22:38:47 +08:00
Lam Wei Li
c84b19350d
chore(deps): bump streamroller from 3.1.2 to 3.1.3 2022-09-27 22:38:45 +08:00
Lam Wei Li
dec44f1b9d
chore(deps): bump flatted from 3.2.6 to 3.2.7 2022-09-27 22:38:44 +08:00
Lam Wei Li
1fb8b14864
chore(deps): bump date-format from 4.0.13 to 4.0.14 2022-09-27 22:38:43 +08:00
Lam Wei Li
4805867a68
chore(deps-dev): bump typescript from 4.7.4 to 4.8.3 2022-09-27 22:38:42 +08:00
Lam Wei Li
a60fe997c5
chore(deps-dev): bump fs-extra from 8.1.0 to 10.1.0 2022-09-27 22:38:41 +08:00
Lam Wei Li
a8f0df0336
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.5.0 2022-09-27 22:38:40 +08:00
Lam Wei Li
26066bda30
chore(deps-dev): bump eslint-config-airbnb-base from 14.2.1 to 15.0.0 2022-09-27 22:38:39 +08:00
Lam Wei Li
465f8ce6a8
chore(deps-dev): bump eslint from 6.8.0 to 8.24.0 2022-09-27 22:38:38 +08:00
Lam Wei Li
ffb8c64e86
chore(deps-dev): bump @commitlint/config-conventional from 17.0.3 to 17.1.0 2022-09-27 22:38:37 +08:00
Lam Wei Li
7d97e1e1e3
chore(deps-dev): bump @commitlint/cli from 17.0.3 to 17.1.2 2022-09-27 22:38:37 +08:00
Lam Wei Li
859b120423
Merge pull request #1326 from log4js-node/update-ci
ci: manually downgrade dev dependencies for older versions
2022-09-27 22:26:09 +08:00
Lam Wei Li
0f9482acd8
ci: manually downgrade dev dependencies for older versions 2022-09-27 22:18:03 +08:00
Lam Wei Li
447b949ebd
Merge pull request #1325 from log4js-node/update-ci
ci: removed scheduled job from codeql and separated npm audit
2022-09-26 13:59:10 +08:00
Lam Wei Li
aee424141b
ci: removed scheduled job from codeql and separated npm audit 2022-09-26 13:48:53 +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
Lam Wei Li
46ddb075d8
Merge pull request #1321 from gkalpak/patch-1
docs(migration-guide): fix typo (`have been remove` --> `have been removed`)
2022-09-07 17:17:27 +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
588e793d49
Merge pull request #1319 from log4js-node/refactor/log4js.shutdown()
refactor(#1082): removed return value for `log4js.shutdown()`
2022-09-03 17:26:01 +08:00
Lam Wei Li
c7b3814f0d
docs: updated documentation 2022-09-03 17:13:49 +08:00
Lam Wei Li
a8418a0c85
refactor(#1082): removed return value for log4js.shutdown() 2022-09-03 17:13:48 +08:00
Lam Wei Li
6a60294611
Merge pull request #1082 from richardhinkamp/shutdown-type-consistent
Shutdown cb arg can be undefined + always return null
2022-09-03 00:10:50 +08:00
Lam Wei Li
49e301df80
Merge branch 'master' into shutdown-type-consistent 2022-09-03 00:04:24 +08:00
Lam Wei Li
2823a059eb
Merge pull request #1318 from log4js-node/update-test
test: adjusted timeout interval for OS operations
2022-09-02 16:56:47 +08:00
Lam Wei Li
4dc4c59e78
test: adjusted timeout interval for OS operations 2022-09-02 16:37:13 +08:00
Lam Wei Li
accaef82a2
Merge pull request #1317 from log4js-node/refactor/#1316
refactor(#1316): code flow and readability (%C:class, %M:function, %A:alias, %F:full - in order)
2022-09-01 22:28:14 +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
Lam Wei Li
be433f26c3
Merge pull request #1316 from l0ner/patternLayout-class-function-alias-names
* 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-09-01 19:50:40 +08:00
Pawel "l0ner" Soltys
dd3051d9ed
FIX: typo in LoggingEvent test
Co-authored-by: Lam Wei Li <peteriman@mail.com>
2022-09-01 19:28:45 +08:00
Pawel Soltys
6ea3e43c62 FIX: add missing field to test 2022-09-01 13:02:43 +02:00
Pawel Soltys
5f988bd097 FIX: remove unneeded test cases 2022-09-01 12:54:26 +02:00
Pawel Soltys
4360da010f FIX: missing test cases for %M, %C, %A and %F fields 2022-09-01 12:49:14 +02:00
Pawel Soltys
397b06e15f FEAT: documentation for %F field 2022-09-01 12:48:10 +02:00
Pawel Soltys
03b3f50870 FEAT: added %F field containing fully qualified caller name 2022-08-29 15:11:04 +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
4e460ffc02
Merge pull request #1312 from log4js-node/update-docs
docs: added quotes for `just-errors` JSON property key
2022-08-15 13:19:42 +08: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
github-actions
03cfcc16cd 6.6.1 v6.6.1 2022-07-26 12:27:23 +00:00
Lam Wei Li
f1f44ca218
docs: updated changelog for 6.6.1 2022-07-26 20:20:07 +08:00
Lam Wei Li
8c55116095
Merge pull request #1309 from log4js-node/dependabot/npm_and_yarn/lodash-4.17.21
chore(deps): bump lodash from 4.17.19 to 4.17.21
2022-07-26 18:23:06 +08:00
Lam Wei Li
66897c853f
Merge pull request #1308 from log4js-node/dependabot/npm_and_yarn/path-parse-1.0.7
chore(deps): bump path-parse from 1.0.6 to 1.0.7
2022-07-26 18:05:11 +08:00
dependabot[bot]
4b25e50ac6
chore(deps): bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-26 10:00:09 +00:00
dependabot[bot]
324d07fd04
chore(deps): bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-26 10:00:06 +00:00
Lam Wei Li
4f12966667
Merge pull request #1307 from log4js-node/update-docs
docs: updated changelog for 6.6.1
2022-07-26 17:53:10 +08:00