Ejemplo n.º 1
0
 /**
  * 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') : DwUtils::getIp();
     self::$_route = Router::get('route');
 }