air icon indicating copy to clipboard operation
air copied to clipboard

Colour of gin's log

Open liuzhaomax opened this issue 4 years ago • 10 comments

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 avatar Dec 02 '20 08:12 liuzhaomax

Windows

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

liuzhaomax avatar Dec 02 '20 08:12 liuzhaomax

me too

birdycn avatar Jan 17 '21 11:01 birdycn

how about now?

birdycn avatar Jan 20 '21 14:01 birdycn

hello

birdycn avatar Mar 08 '21 12:03 birdycn

Windows

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

birdycn avatar Mar 08 '21 12:03 birdycn

how about now

birdycn avatar Mar 08 '21 12:03 birdycn

Sorry I do not familiar with Windows...

cosmtrek avatar Apr 23 '21 15:04 cosmtrek

Windows, me too

Shirtiny avatar Nov 12 '21 01:11 Shirtiny

The same occurs

Apostle-lemon avatar Sep 03 '22 08:09 Apostle-lemon

try arelo Screenshot_20221007_011648

makiuchi-d avatar Oct 06 '22 16:10 makiuchi-d