Handles outputting/writing data to the console.
Handles outputting/writing data to the console. when Jaeger plugins are ran through the Console / Command Line / Shell.
jaeger-app/console as a requirement to your
$ composer require jaeger-app/console
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();