MCPcopy
hub / github.com/direnv/direnv / logError

Function logError

internal/cmd/log.go:27–33  ·  view source on GitHub ↗
(c *Config, msg string, a ...interface{})

Source from the content-addressed store, hash-verified

25}
26
27func logError(c *Config, msg string, a ...interface{}) {
28 if c.LogColor {
29 logMsg(defaultLogFormat, msg, a...)
30 } else {
31 logMsg(errorColor+defaultLogFormat+clearColor, msg, a...)
32 }
33}
34
35func logStatus(c *Config, msg string, a ...interface{}) {
36 format := c.LogFormat

Callers 4

cmdWithWarnTimeoutFunction · 0.85
cmdLogFunction · 0.85
LoadConfigFunction · 0.85
cmdEditActionFunction · 0.85

Calls 1

logMsgFunction · 0.85

Tested by

no test coverage detected