Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/sirius-pallets/vendor/consolidation/log/tests/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/sirius-pallets/vendor/consolidation/log/tests/LogMethodTests.php

<?php
namespace Consolidation\Log;

use Symfony\Component\Console\Output\BufferedOutput;
use Symfony\Component\Console\Output\OutputInterface;
use PHPUnit\Framework\TestCase;

class LogMethodTests extends TestCase
{
  protected $output;
  protected $logger;

  function setup(): void {
    $this->output = new BufferedOutput();
    $this->output->setVerbosity(OutputInterface::VERBOSITY_DEBUG);
    $this->logger = new Logger($this->output);
    $this->logger->setLogOutputStyler(new UnstyledLogOutputStyler());
  }

  function testError() {
    $this->logger->error('Do not enter - wrong way.');
    $outputText = rtrim($this->output->fetch());
    $this->assertEquals(' [error] Do not enter - wrong way.', $outputText);
  }

  function testWarning() {
    $this->logger->warning('Steep grade.');
    $outputText = rtrim($this->output->fetch());
    $this->assertEquals(' [warning] Steep grade.', $outputText);
  }

  function testNotice() {
    $this->logger->notice('No loitering.');
    $outputText = rtrim($this->output->fetch());
    $this->assertEquals(' [notice] No loitering.', $outputText);
  }

  function testInfo() {
    $this->logger->info('Scenic route.');
    $outputText = rtrim($this->output->fetch());
    $this->assertEquals(' [info] Scenic route.', $outputText);
  }

  function testDebug() {
    $this->logger->debug('Counter incremented.');
    $outputText = rtrim($this->output->fetch());
    $this->assertEquals(' [debug] Counter incremented.', $outputText);
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net