enableConsoleColors: function()

in src/log.js [192:209]


    enableConsoleColors: function() {
        // colorful console.log() and co
        if (!console._logToFile) {
            originalConsole = {
                log: console.log,
                error: console.error,
                info: console.info,
                debug: console.debug
            };
            // overwrites console.*()
            const manakin = require('manakin').global;
            manakin.info.color = INFO_COLOR_ANSI;

            // no bright as it might not look good on terminals with white background
            //manakin.setBright();
        }
        return originalConsole;
    },