jaeger-app/console

Handles outputting/writing data to the console.

0.1.2 2016-04-20 01:21 UTC

This package is not auto-updated.

Last update: 2020-07-10 19:23:48 UTC


README

Build Status Scrutinizer Code Quality Author GitHub license

Handles outputting/writing data to the console. when Jaeger plugins are ran through the Console / Command Line / Shell.

Installation

Add jaeger-app/console as a requirement to your composer.json:

$ composer require jaeger-app/console

Basic Usage

Jaeger\Console uses the Jaeger\Language object to handle copy abstraction so you'll have to set that up before using.

use JaegerApp\Console;
use JaegerApp\Language;

$language = new Language; 
... setup language ...

$console = new Console();
$console->setLang($language);

$console->outputError('My error string');
$console->outputLine('My line of text to output in the console');
$console->outputPageBreak();