<?php
// Función de depuración personalizada
if (!function_exists('custom_log')) {
    function custom_log($message) {
        $logFile = __DIR__ . '/../logs/custom_debug.log'; // Adjust path as needed
        $timestamp = date('Y-m-d H:i:s');
        file_put_contents('php://stderr', "[$timestamp] $message\n", FILE_APPEND);
    }
}
?>