mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 10:11:12 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
18
src-old/lib/authLogger.ts
Normal file
18
src-old/lib/authLogger.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Conditional authentication logging utility
|
||||
* Uses structured logger internally
|
||||
*/
|
||||
|
||||
import { logger } from './logger';
|
||||
|
||||
export const authLog = (...args: unknown[]) => {
|
||||
logger.info('[Auth]', ...args);
|
||||
};
|
||||
|
||||
export const authWarn = (...args: unknown[]) => {
|
||||
logger.warn('[Auth]', ...args);
|
||||
};
|
||||
|
||||
export const authError = (...args: unknown[]) => {
|
||||
logger.error('[Auth] Error occurred', { error: args });
|
||||
};
|
||||
Reference in New Issue
Block a user