Skip to content

Conversation

vchimev
Copy link
Contributor

@vchimev vchimev commented Oct 22, 2017

#51

@vchimev vchimev requested review from SvetoslavTsenov and removed request for SvetoslavTsenov October 22, 2017 15:47
@SvetoslavTsenov
Copy link
Contributor

SvetoslavTsenov commented Oct 23, 2017

Hey, @vchimev, can you try to fix the dependency. I think it is time to use it in our log for better visualization.
Here is an example of colors:

`
var colors = require('colors');

colors.setTheme({
info: 'blue',
data: 'grey',
help: 'cyan',
warn: 'yellow',
error: 'red'
});

// outputs red text
console.log("this is an error".error);

// outputs yellow text
console.log("this is a warning".warn);`

Basically, we can use red for errors, orange for warning, blue for basic info and etc. It is easy to use in our logs in utils.

@vchimev
Copy link
Contributor Author

vchimev commented Nov 21, 2017

The colors dependency has been removed in #63.

@vchimev vchimev closed this Nov 21, 2017
@vchimev vchimev deleted the vchimev-colors branch November 21, 2017 15:37
@lock
Copy link

lock bot commented Aug 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants