Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rs/zerolog
/ consoleDefaultFormatErrFieldValue
Function
consoleDefaultFormatErrFieldValue
console.go:531–535 ·
view source on GitHub ↗
(noColor bool)
Source
from the content-addressed store, hash-verified
529
}
530
531
func
consoleDefaultFormatErrFieldValue(noColor bool) Formatter {
532
return
func
(i
interface
{}) string {
533
return
colorize(colorize(fmt.Sprintf(
"%s"
, i), colorBold, noColor), colorRed, noColor)
534
}
535
}
Callers
1
writeFields
Method · 0.85
Calls
1
colorize
Function · 0.85
Tested by
no test coverage detected