Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour of gin's log #128

Open
liuzhaomax opened this issue Dec 2, 2020 · 10 comments · May be fixed by #551
Open

Colour of gin's log #128

liuzhaomax opened this issue Dec 2, 2020 · 10 comments · May be fixed by #551

Comments

@liuzhaomax
Copy link

How can I remove ?[97;42m] and change it to color?
I have already used gin.DefaultWriter = colorable.NewColorableStdout()
Goland can show color on gin's log, but no color when the system is launched by air.

launched by air
image

launched by goland
image

launched by .exe
image

@liuzhaomax
Copy link
Author

liuzhaomax commented Dec 2, 2020

Windows

The same issue occurs on gorm's log, too.

@birdycn
Copy link

birdycn commented Jan 17, 2021

me too

@birdycn
Copy link

birdycn commented Jan 20, 2021

how about now?

@birdycn
Copy link

birdycn commented Mar 8, 2021

hello

@birdycn
Copy link

birdycn commented Mar 8, 2021

Windows

The same issue occurs on gorm's log, too.

@birdycn
Copy link

birdycn commented Mar 8, 2021

how about now

@cosmtrek
Copy link
Owner

Sorry I do not familiar with Windows...

@Shirtiny
Copy link

Windows,
me too

@Apostle-lemon
Copy link

The same occurs

@makiuchi-d
Copy link
Contributor

try arelo
Screenshot_20221007_011648

@8LWXpg 8LWXpg linked a pull request Mar 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants