ConsoleLogHandler.private constructor
- @visibleForTesting
- List<
BDLevel> supportedLevels, - BDLogFormatter logFormatter,
- LinePrinter _printer
Private constructor mostly for testing purpose.
This constructor is used to create a new instance of the ConsoleLogHandler with specific parameters.
It's marked as visible for testing, so it can be used in tests to create instances with specific parameters.
Implementation
@visibleForTesting
const ConsoleLogHandler.private(
this.supportedLevels,
this.logFormatter,
this._printer,
);