/** * Inicializa el Logger */ public static function initialize($name = '') { if (empty($name)) { self::$_logName = 'audit' . date('Y-m-d') . '.txt'; } self::$_login = Session::get('login'); self::$_ip = Session::get('ip') ? Session::get('ip') : MkcUtils::getIp(); self::$_route = Router::get('route'); }