website refactor
This commit is contained in:
@@ -41,6 +41,7 @@ export class ConsoleLogger implements Logger {
|
||||
|
||||
if (supportsGrouping) {
|
||||
// Safe to call - we've verified both functions exist
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(console as any).groupCollapsed(`%c${emoji} [${source.toUpperCase()}] ${prefix}: ${message}`, `color: ${color}; font-weight: bold;`);
|
||||
} else {
|
||||
// Simple format for edge runtime
|
||||
@@ -73,6 +74,7 @@ export class ConsoleLogger implements Logger {
|
||||
|
||||
if (supportsGrouping) {
|
||||
// Safe to call - we've verified the function exists
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(console as any).groupEnd();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user