8000 Feature request, print messages with colors · Issue #6 · schellingb/wajic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Feature request, print messages with colors #6
Open
@staviq

Description

@staviq

This a very simple modification, for starters, warnings in yellow:

var WARN = function(msg)
{
//console.warn('[WARNING] ' + msg);
console.log('\x1b[1m\x1b[33m%s\x1b[0m', '[WARNING] ' + msg);  //yellow
};

There is a nice and handy reference for console colors: https://stackoverflow.com/a/41407246

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0