Windows color
Open
- Dominant language
- Go
- Stars
- 288
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Using this file:
~~~go
package main
import "github.com/apsdehal/go-logger"
func main () {
aa, _ := logger.New(1, 1)
aa.Warning("bbbbb")
}
~~~
I get this result:
~~~
[33m#1 2019-06-14 06:39:31 log.go:8 ▶ WAR bbbbb [0m
~~~
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the sample on Windows and inspect the logging path around log.go:8 to determine how the ANSI color codes are emitted. Done means warning output no longer displays literal [33m and [0m sequences on Windows; verify the observed output after the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100