MCPcopy Create free account
hub / github.com/codetainerapp/codetainer / ColorLogS

Function ColorLogS

Godeps/_workspace/src/github.com/Unknwon/com/cmd.go:107–155  ·  view source on GitHub ↗

ColorLogS colors log and return colored content. Log format: [ error ]. Level: TRAC -> blue; ERRO -> red; WARN -> Magenta; SUCC -> green; others -> default. Content: default; path: yellow; error -> red. Level has to be surrounded by "[" and "]". Highlights have to

(format string, a ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ColorLogFunction · 0.85
TestColorLogSFunction · 0.85
BenchmarkColorLogSFunction · 0.85

Calls 1

getColorLevelFunction · 0.85

Tested by 2

TestColorLogSFunction · 0.68
BenchmarkColorLogSFunction · 0.68