/**
 * Conditional authentication logging utility
 * Logs are only shown in development mode
 */

const isDevelopment = import.meta.env.DEV;

export const authLog = (...args: any[]) => {
  if (isDevelopment) {
    console.log(...args);
  }
};

export const authWarn = (...args: any[]) => {
  if (isDevelopment) {
    console.warn(...args);
  }
};

export const authError = (...args: any[]) => {
  // Always log errors
  console.error(...args);
};
