summaryrefslogtreecommitdiff
path: root/packages/backend/src/logger.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* output log messages with correct levelHazelnoot2025-06-091-1/+9
|
* increase logging indent, since some logger contexts are really longHazelnoot2025-05-301-2/+2
|
* add MK_HIDE_WORKER_ID to exclude worker ID from logsHazelnoot2025-05-301-1/+3
|
* correctly parse response errors for loggingHazelnoot2025-05-081-1/+1
|
* add `logging.verbose` option to enable debug logging in production. (same ↵Hazelnoot2025-05-081-3/+5
| | | | function as `MK_VERBOSE` environment variable)
* fix logger Data typeHazelnoot2025-03-271-1/+3
|
* export logger `Data` types for reference elsewhereHazelnoot2025-02-081-2/+2
|
* avoid use of `any` in logger.tsHazelnoot2024-12-261-1/+1
|
* fix typesdakkar2024-12-261-1/+1
| | | | | | I don't understand the difference between `any` and `unknown`, but the type signatures before this branch had `Record<string, any> | null`, and this code passes the typecheck… mah
* re-implement "reduce inbox log spam when fetching blocked / unavailable notes"Hazelnoot2024-12-221-9/+18
|
* refactor(backend): remove unused logger optionsyuilo2024-06-061-9/+5
|
* (re) update SPDX-FileCopyrightTexttamaina2024-02-131-1/+1
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-1/+1
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-121-1/+1
|
* chore(backend/logger): log data for every level if exists (#12863)Kagami Sascha Rosylight2024-01-021-2/+5
|
* chore(backend): Resolve `import/no-default-export` rule violations (#11732)woxtu2023-08-171-0/+1
| | | | | * Disable `import/no-default-export` properly * Disable `import/no-default-export`
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#11348) * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(backend): use node16 for moduleResolution (#10938)syuilo2023-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(backend): use node16 for moduleResolution * update deps * Update tsconfig.json * :v: * revive KEYWORD * restore strict-event-emitter-types dependency * restore ms dependency * cancel redundant import reorder * fix * Delete ms.ts * remove rndstr --------- Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
* refactor: fix typessyuilo2023-02-091-1/+1
|
* drop syslogsyuilo2023-02-031-17/+1
| | | | Close #9774
* refactor: ↵tamaina2023-01-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /proxyをFileServerServiceに統合し、/proxyのurlで/filesが指定されていた場合は直接ファイルを解決するようにする (#9709) * wip? * clean up * Implement? HttpFetchService * :v: * remove node-fetch * fix * refactor * fix * gateway timeout * UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない) * fix * add logger and fix url preview * fix ip check * enhance logger and error handling * fix * fix * clean up * Use custom fetcher for ApRequest / ApResolver * bypassProxyはproxyBypassHostsに判断を委譲するように * set maxRedirections (default 3, ApRequest/ApResolver: 0) * fix * wip???? * wip * :v: * set .node-version * clean up * refactor * clean up * refactor * refactor detectRequestType * rename detectResponseType * :v: * fix * wip * clean up * no got * remove got * wip * :v: * fix * clean up * remove unnnecessary const * good cleanup * no stream * Revert "no stream" This reverts commit 636f9192fcd2b17e71bbf6b5b106b490e0f66244. * fix * cache-control: max-age=300 to error * refactor cleanup
* Fix import related TypeScript errors (#9321)Kagami Sascha Rosylight2022-12-141-3/+4
| | | | | | | * Add missing @types packages * Fix TS1272 type only imports * Fix TS2821 import assertion
* improve nest loggersyuilo2022-12-101-11/+11
|
* refactor: introduce bindThis decorator to bind this automaticalysyuilo2022-12-041-0/+8
|
* なんかもうめっちゃ変えたsyuilo2022-09-181-0/+112