🚸 Adds user-facing warning logging

This commit is contained in:
Alicia Sykes
2021-09-19 21:28:05 +01:00
parent 0927ea879b
commit 6e0cda8709
2 changed files with 7 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ export const statusMsg = (title, msg) => {
/* Prints status message, with a stack trace */
export const statusErrorMsg = (title, msg, errorLog) => {
console.log(
`%c${title || ''}\n%c${msg} \n%c${errorLog}`,
`%c${title || ''}\n%c${msg} \n%c${errorLog || ''}`,
'font-weight: bold; color: #0dd8d8; text-decoration: underline;',
'color: #ff025a',
'color: #ff025a80;',