!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/nucleo/lib/rest/   drwxrwxr-x
Free 14.59 GB of 61.93 GB (23.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     toba_rest_logger.php (1.93 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

use SIUToba\rest\lib\logger;

class 
toba_rest_logger implements logger
{

    
/**
     * @var \toba_logger
     */
    
protected $logger;

    function 
__construct()
    {
        
$this->logger = \toba_logger::instancia();
    }


    
/**
     * $this->ref_niveles[2] = "CRITICAL";
     * $this->ref_niveles[3] = "ERROR";
     * $this->ref_niveles[4] = "WARNING";
     * $this->ref_niveles[5] = "NOTICE";
     * $this->ref_niveles[6] = "INFO";
     * $this->ref_niveles[7] = "DEBUG";
     */
    
function set_nivel($nivel)
    {
        
$this->logger->set_nivel($nivel);
    }

    
/**
     * Guarda los sucesos actuales en el sist. de archivos
     */
    
function guardar()
    {
        
//Lo llama toba cuando lo embebe. Se deja que lo llame, pero igual se llama desde rest
        //para dar lugar a otras implementaciones de logs
        //$this->logger->guardar();
    
}

    
/**
     * Desactiva el logger durante todo el pedido de página actual
     */
    
function desactivar()
    {
        
$this->logger->desactivar();
    }

    
/**
     * Dumpea el contenido de una variable al logger
     */
    
function var_dump($variable)
    {
        
$this->logger->var_dump($variable);
    }

    
/**
     * Registra un suceso útil para rastrear problemas o bugs en la aplicación
     */
    
function debug($mensaje)
    {
        
$this->logger->debug($mensaje);
    }

    
/**
     * Registra un suceso netamente informativo, para una inspección posterior
     */
    
function info($mensaje)
    {
        
$this->logger->info($mensaje);
    }

    
/**
     * Registra un suceso no contemplado que no es critico para la aplicacion
     */
    
function notice($mensaje)
    {
        
$this->logger->notice($mensaje);
    }

    
/**
     * Registra un suceso no contemplado pero que posiblemente no afecta la correctitud del proceso
     */
    
function warning($mensaje)
    {
        
$this->logger->warning($mensaje);
    }

    
/**
     * Registra un suceso CRITICO (un error muy grave)
     */
    
function crit($mensaje)
    {
        
$this->logger->crit($mensaje);
    }

    
/**
     * Registra un error en la apl., este nivel es que el se usa en las excepciones
     */
    
function error($mensaje)
    {
        
$this->logger->error($mensaje);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8129 ]--