-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore(2523): Improve logging, primarily on desktop (#2518)
* Add better formatted logger to logger package * Use new logger in state-manager * Use new logger in backend * First round of desktop log updates * Ensure renderer logs also show up in browser * Fix tests * Remove all references to the old logger * Add docs and clean up logger code * More log changes and adding timers * Replace all usages of console and the old logger, make mobile work well with luxon * Fix android logging with polyfill * Fix test * Add docs to polyfill
- Loading branch information
Isla Koenigsknecht
authored
May 15, 2024
1 parent
785a8ea
commit 51c9648
Showing
198 changed files
with
4,984 additions
and
3,200 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ | |
"@types/crypto-js": "^4.0.2", | ||
"@types/express": "^4.17.9", | ||
"@types/jest": "28.1.8", | ||
"@types/luxon": "^3.3.0", | ||
"@types/luxon": "^3.4.2", | ||
"@types/mock-fs": "^4.13.1", | ||
"@types/node": "18.11.9", | ||
"@types/node-fetch": "^2.5.11", | ||
|
@@ -108,9 +108,8 @@ | |
"dotenv": "8.2.0", | ||
"events": "^3.2.0", | ||
"express": "^4.17.1", | ||
"fetch-retry": "^6.0.0", | ||
"node-fetch": "^3.3.0", | ||
"fastq": "^1.17.1", | ||
"fetch-retry": "^6.0.0", | ||
"get-port": "^5.1.1", | ||
"go-ipfs": "npm:[email protected]", | ||
"http-server": "^0.12.3", | ||
|
@@ -122,8 +121,9 @@ | |
"joi": "^17.8.1", | ||
"level": "8.0.0", | ||
"libp2p": "0.42.2", | ||
"luxon": "^1.11.4", | ||
"luxon": "^3.4.4", | ||
"multiaddr": "^10.0.1", | ||
"node-fetch": "^3.3.0", | ||
"orbit-db": "0.29.0", | ||
"orbit-db-access-controllers": "^0.4.0", | ||
"orbit-db-identity-provider": "0.5.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
import { logger } from '@quiet/logger' | ||
import { createQuietLogger } from '@quiet/logger' | ||
|
||
const createLogger = (name: string) => { | ||
return logger('backend')(name) | ||
} | ||
|
||
export default createLogger | ||
export const createLogger = createQuietLogger('backend') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.