Skip to content

Commit

Permalink
use only pretty colors in log generator test tool
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrews committed Apr 1, 2023
1 parent 8a612b5 commit a75580c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/loggenerator.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ var lipsumwords = []string{"a", "ac", "accumsan", "ad", "adipiscing", "aenean",
"vulputate"}

var punctuation = []string{".", "?", "!"}
var severity = []string{"ERROR", "WARN", "INFO", "DEBUG", "TRACE", ""}

// var severity = []string{"ERROR", "WARN", "INFO", "DEBUG", "TRACE", ""}
var severity = []string{"INFO", "DEBUG", "TRACE"} // NOTE: This is the pretty view (everything alright! No problems!)

func main() {
logPtr := flag.String("logfile", "test/logfile.log", "Name of logfile that receives the generated log lines")
Expand Down

0 comments on commit a75580c

Please sign in to comment.