58 Commits

Author SHA1 Message Date
b1bbb09bae feat: make ScopedLogger init by REQUEST_LOG_ID 2025-03-20 17:21:22 +09:00
9758dfcb9d fuck temp 3 2025-03-19 19:03:56 +09:00
9f855b9939 temp 2 2025-03-19 15:57:55 +09:00
00fd3e33c4 temp 2025-03-19 15:30:09 +09:00
c74ad2b119 feat: add LoggedMiddleware 2025-03-19 15:10:20 +09:00
88bdb9dfc2 fix(logged): include interceptor in ExecutionContext check
The check for ExecutionContext was only considering 'guard' type, which excluded 'interceptor' type functions. This change ensures that both 'guard' and 'interceptor' types are handled correctly when retrieving the Request from the ExecutionContext.
2025-03-18 21:38:39 +09:00
348abc79f6 refactor: remove unused scopeKey symbol and related code
The scopeKey symbol and its associated code were no longer used in the codebase. This commit removes them to clean up the code and improve maintainability.
2025-03-18 21:24:23 +09:00
e81e7b8e09 feat: add LoggedGuard and LoggedInterceptor to exports
This commit introduces LoggedGuard and LoggedInterceptor to the list of exported modules in the index.ts file, enhancing the logging capabilities of the application by making these additional decorators available for use.
2025-03-18 21:22:05 +09:00
423418e956 feat: create LoggedGuard and LoggedInterceptor 2025-03-18 21:21:45 +09:00
6c89c2d352 fix: replace logger's LogLevel with import 2025-03-18 20:09:02 +09:00
838f1f3692 feat: make new LogLevel options work 2025-02-11 21:11:04 +09:00
d423da62b4 refactor: made new LogLevel options flat 2025-02-11 21:06:06 +09:00
beea6cbac7 feat: add logLevel option for replacement of deprecated skip options 2025-02-11 20:46:25 +09:00
35cdb6d870 refactor: make OverrideBuildOptions skipLogs deprecated 2025-02-11 20:40:20 +09:00
e850299b01 feat: add testOptionOverriding test 2024-11-29 21:50:05 +09:00
f49ee72328 fix: fix tests 2024-11-29 21:49:36 +09:00
fc205ad553 feat: make override option when LoggedFunction call is nested 2024-11-29 21:48:37 +09:00
94aa138461 feat: add options to skip overrideBuild logs 2024-11-29 21:20:17 +09:00
b6e828a003 chore: v2.2.8 build 2024-03-31 20:43:35 +09:00
e0b43240cb fix: add null handling 2024-03-31 20:42:49 +09:00
60c15330a1 test: add tests for new scoped logger system 2024-03-31 19:00:24 +09:00
de0cf81f10 feat: use scope inherit system instead of call chain 2024-03-31 19:00:11 +09:00
68fb9e4ac0 feat: apply improved beta function 2024-03-31 16:29:40 +09:00
90871c1ecc feat: add improved beta function 2024-03-31 16:29:20 +09:00
9717b35ec5 test: disable all test functions 2024-03-31 16:29:05 +09:00
9ce4536283 v2.2.6 2024-03-28 01:23:29 +09:00
4e02628945 fix: remove unused asynchronous functions 2024-01-12 18:37:38 +09:00
05a2defb44 fix: r null checking 2024-01-10 02:10:09 +09:00
ea26a46ee1 fix: allow non-promise returning 2024-01-10 02:01:45 +09:00
14a19c9871 feat: allow synchronous method & string name in Returns 2024-01-10 01:20:27 +09:00
91796820fe fix: export Logged 2024-01-10 01:19:47 +09:00
bbf680f360 refactor: remove manual scope key decorator 2024-01-10 00:52:23 +09:00
37762b8a7d fix: remove unnecessary 2024-01-10 00:29:12 +09:00
f2b486f402 feat: add nestjs merged request objects 2024-01-10 00:28:15 +09:00
2095a763a9 feat: 2.1.1 2024-01-08 22:21:57 +09:00
0bdba47fc7 test: add synced logging test 2023-12-15 01:57:21 +09:00
434b0ff81f fix: allow sync function 2023-12-15 01:55:52 +09:00
440fae5ef9 test: add tests for root scope arrow removal 2023-12-15 01:49:12 +09:00
29c1235983 fix: add root parameter to remove scope arrow when logger is not in root 2023-12-15 01:48:35 +09:00
ea16156f6e test: add tests for logging return value 2023-12-15 01:38:24 +09:00
995fbafe19 feat: add ability to log return value 2023-12-15 01:38:09 +09:00
36da94a623 feat: add Returns decorator 2023-12-15 01:37:35 +09:00
e4a5633850 refactor: add comment to all test stuff 2023-12-10 21:18:14 +09:00
35146d4de6 refactor: add and remove exports 2023-12-10 20:42:36 +09:00
a380613d0b fix: add metadata proxy to each logged decorators 2023-12-10 18:48:14 +09:00
857f174773 fix: remove return type in LoggedRoute 2023-12-10 17:53:10 +09:00
bf9d0b365e fix: actually override function in LoggedRoute 2023-12-10 17:38:55 +09:00
c792dbdcd6 refactor 2023-12-10 17:13:04 +09:00
7c51a4559d fix: make logged class recover existing metadatas after applying decorator to its method 2023-12-04 16:28:44 +09:00
81ff8a3719 fix: fix behavior and logging in logged controller and logged route 2023-12-03 22:04:15 +09:00