Skip to content

Commit f24d099

Browse files
CopilotStan2032
andcommitted
Fix logger doc: production logs errors and warnings (not just errors)
Co-authored-by: Stan2032 <68326386+Stan2032@users.noreply.github.com>
1 parent 1dcb0fb commit f24d099

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Centralized logging utility for the Global Anti-CCP Resistance Hub.
33
*
44
* Provides structured, level-gated logging that can be controlled per-environment:
5-
* - In production (`import.meta.env.PROD`): only errors are logged.
5+
* - In production (`import.meta.env.PROD`): errors and warnings are logged.
66
* - In development (`import.meta.env.DEV`): all levels are logged.
77
* - Debug logging can be enabled in production via `localStorage.setItem('debug', 'true')`.
88
*

0 commit comments

Comments
 (0)