Skip to content

Feature/formatter

Marek Szuba requested to merge feature/Formatter into master

Created by: mira13

Requirements

Use case

Formatter class added, The goal is consistent printing code and output, Example of usage is applied for Queen.pm functions called from beekeeper.pl

Description

Formatter object can be used to set errors, warnings and info print, also it allows to apply custom output functions and set up output format - to json or text, immediate or by demand.

Import the module and use the variable

Possible Drawbacks

None I can think of

Testing

Have you added/modified unit tests to test the changes?

The test file is added, that covers 100% of formatter code

Have you run the entire test suite and no regression was detected?

All fine

Merge request reports