dopry/netlify-cms

View on GitHub
src/lib/consoleError.js

Summary

Maintainability
A
0 mins
Test Coverage

export default function consoleError(title, description) {
  console.error(
    `%c ⛔ ${ title }\n` + `%c${ description }\n\n`,
    'color: black; font-weight: bold; font-size: 16px; line-height: 50px;',
    'color: black;'
  );
}