// ╭──────────────────────────────────────────────────────────────────────────────────╮
// │ 📌 High Order Overview                                                           │
// ┣──────────────────────────────────────────────────────────────────────────────────┫
// │ ➤ Code Format   // V.8.0                                                         │
// │ ➤ Status        // 🔒 LOCKED                                                     │
// │ ➤ Author(s)     // @migbash                                                      │
// │ ➤ Maintainer(s) // @migbash                                                      │
// │ ➤ Created on    // 05-12-2024                                                    │
// ┣──────────────────────────────────────────────────────────────────────────────────┫
// │ 📝 Description                                                                   │
// ┣──────────────────────────────────────────────────────────────────────────────────┫
// │ BETARENA (Module)
// │ |: Debug Logic
// ╰──────────────────────────────────────────────────────────────────────────────────╯

/* eslint-disable new-cap */

// #region 📦 Package]

import chalk from 'chalk';

// #endregion ➤ 📦 Package Imports

/**
 * @author
 *  @migbash
 * @summary
 *  [🐞]
 * @description
 *  📝 Custom `console.log(..)` wrapper for general logging.
 * @param { string[] } listMsg
 *  💠 **[required]** The message.
 * @return { void }
 */
export function logger
(
  listMsg: string[]
): void
{
  // [🐞]
  // eslint-disable-next-line no-console
  console.log(chalk.hex('#FF7F50')('📦 [ad-engine] :: ─────────────────────────'));
  for (const message of listMsg)
    // [🐞]
    // eslint-disable-next-line no-console
    console.log(chalk.hex('#FF7F50')(`📦 [ad-engine] :: ${message}`));
  ;
  return;
}
