lib/logger.js
function formatErrorMarker(message = 'Error') {
  const { bold, bgRed, white } = consoleStyles;

  return bgRed(bold(white(message)));
}
function formatErrorMarker(message = 'Error') {
  const { bold, bgRed, white } = consoleStyles;

  return bgRed(bold(white(message)));
}
function formatErrorMarker ( message = 'Error' ) { const { bold , bgRed , white } = consoleStyles ; return bgRed ( bold ( white ( message ) ) ) ; }
Returns a string "Error" styled as a bold white text on a red background, ready to be printed to the console.

@memberof module:logger
@private
@function formatErrorMarker
@param {string} [message="Error"] - a message to apply styles to
@return {module:logger.Message} a styled message
Returns a string Error styled as a bold white text on a red background ready to be printed to the console .