Skip to content

Add color to logger level - #153

Merged
tyru merged 1 commit into
develfrom
logger-level-color
Dec 27, 2017
Merged

tyru merged 1 commit into
develfrom
logger-level-color

Conversation

@tyru

@tyru tyru commented Dec 27, 2017

Copy link
Copy Markdown
Member

Add color to logger level like [INFO], [DEBUG], [WARN], [ERROR].

Add color to logger level

@tyru
tyru merged commit 4ecc9f5 into devel Dec 27, 2017
@tyru
tyru deleted the logger-level-color branch December 27, 2017 15:23
tyru added a commit that referenced this pull request Jan 1, 2018
ref. #153

* Use color.New().Fprintf() instead of fmt.Fprintf()
* Use mutex not to mix escape sequence wrongly
@tyru tyru mentioned this pull request Jan 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant