Commit 71e8a27
committed
feat: add Logger utility for controlled console output
- Introduced a Logger class to manage logging behavior based on the environment (production or development).
- Replaced console.log, console.warn, and console.error calls throughout the codebase with Logger methods to ensure consistent logging.
- Updated various modules including main.ts, markdown-it-image-plugin.ts, oauth2-client.ts, and others to utilize the new Logger class for improved logging practices.1 parent 60400c6 commit 71e8a27
13 files changed
Lines changed: 118 additions & 83591 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
0 commit comments