There are three versions of this library;
newtmgr protocol.console_printf, console editing and BLE monitor.You can write a package which uses console_printf(), and builder of a project can select which one they'll use. For the package, list in the pkg.yml console as the required capability. Project builder will then include either sys/console/full or sys/console/minimal or sys/console/stub as their choice.
It is possible to include this package and select required library by syscfg value CONSOLE_IMPLEMENTATION full, stub or minimal.
Following line enables full console.
CONSOLE_IMPLEMENTATION: full