Logs an error message with a cross icon. Formats the error using the formatter.
Error to log
try { await compileCPP('invalid.cpp');} catch (error) { logError(error);} Copy
try { await compileCPP('invalid.cpp');} catch (error) { logError(error);}
Logs an error message with a cross icon. Formats the error using the formatter.