PHP Classes

File: src/console

Recommend this page to a friend!
  Classes of Joseluis Laso   Simple Logger   src/console   Download  
File: src/console
Role: Example script
Content type: text/plain
Description: Example script
Class: Simple Logger
Log messages and view log filtered files
Author: By
Last change: Update of src/console
Date: 1 year ago
Size: 362 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php

namespace JLaso\SimpleLogger;

require_once
__DIR__ . '/../vendor/autoload.php';

use
JLaso\SimpleLogger\Command\FilterCommand;
use
Symfony\Component\Yaml\Yaml;
use
Symfony\Component\Console\Application;

$application = new Application();
$application->addCommands(
    array(
        new
FilterCommand(),
    )
);
$application->run();