-
Notifications
You must be signed in to change notification settings - Fork 86
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
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.