Skip to content

Small decorator that extends @symfony OutputInterface delivered class with few options for easier to log data

License

Notifications You must be signed in to change notification settings

imponeer/log-data-output-decorator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License GitHub release Maintainability PHP Packagist

Log data output decorator

Small decorator that extends Symfony OutputInterface delivered class with few options for easier to log data.

Installation

To install and use this package, we recommend to use Composer:

composer require imponeer/log-data-output-decorator

Otherwise, you need to include manually files from src/ directory.

Usage example

$output = new \Imponeer\Decorators\LogDataOutput\OutputDecorator(
   new \Symfony\Component\Console\Output\BufferedOutput();
);
$output->info('test');
$output->incrIndent();
$output->info('#1');
$output->info('#2');

How to contribute?

If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try interactive GitHub tutorial.

If you found any bug or have some questions, use issues tab and write there your questions.

About

Small decorator that extends @symfony OutputInterface delivered class with few options for easier to log data

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages