method PrinterService.warn PrinterService.warn(message: string,icon?: Icon,): Promise<void> Print a WARN level message on stderr. Will be displayed as yellow 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>