method PrinterService.print
PrinterService.print(
message: string,
icon?: Icon,
): Promise<void>

Print a message on stdout. Will be displayed as primary content if colorEnabled is true.

Parameters

message: string

the message to output.

optional
icon: Icon

optional icon to display with the message.

Return Type

Promise<void>

Usage

import type PrinterService from ".";