UNPKG

@koreanpanda/log-system

Version:

A Custom Logger that can print to the console, however you like, and writes logs for you as well.

31 lines (28 loc) 1.59 kB
/** * @summary This is the System Class. This is not a user class. This is for me to write messages to the user. * @author Cody Spratford * @since 9/29/2020 */ const chalk = require("chalk"); /** * @class * @classdesc This is not a class that the user can use. this is a system message system. */ module.exports = class System { constructor() { // Make the Name into ascii art. const ascii = ` .____ _________ __ | | ____ ____ / _____/__.__. _______/ |_ ____ _____ | | / _ \\ / ___\\ \\_____ < | |/ ___/\\ __\\/ __ \\ / \\ | |__( <_> ) /_/ > / \\___ |\\___ \\ | | \\ ___/| Y Y \\ |_______ \\____/\\___ / /_______ / ____/____ > |__| \\___ >__|_| / \\/ /_____/ \\/\\/ \\/ \\/ \\/ ` console.log(chalk.greenBright(ascii)); // Write thank you for using Log System. console.log(chalk.black.bgGreenBright("Thank you for using Log System. Your config file will be maded now. Enjoy using Log System! ^-^")); console.log(chalk.black.bgGreenBright("If you like this package, and want to help support it, then please share this with others.")); console.log(chalk.black.bgGreenBright("Documentations can be found at https://github.com/koreanpanda345/Log-System/tree/master/Documentation")); console.log(chalk.black.bgGreenBright("Note: Log System will be changing it's name Very Soon, stay tune to what it will be.")); } }