MCPcopy Create free account
hub / github.com/Masterminds/glide / Warn

Method Warn

msg/msg.go:95–98  ·  view source on GitHub ↗

Warn logs a warning

(msg string, args ...interface{})

Source from the content-addressed store, hash-verified

93
94// Warn logs a warning
95func (m *Messenger) Warn(msg string, args ...interface{}) {
96 prefix := m.Color(Yellow, "[WARN]\t")
97 m.Msg(prefix+msg, args...)
98}
99
100// Warn logs a warning using the Default Messenger
101func Warn(msg string, args ...interface{}) {

Callers 15

commandsFunction · 0.80
WarnFunction · 0.80
ConfigWizardFunction · 0.80
TreeFunction · 0.80
EnsureConfigFunction · 0.80
EnsureGoVendorFunction · 0.80
EnsureGopathFunction · 0.80
UpdateFunction · 0.80
RebuildFunction · 0.80
buildDepFunction · 0.80
buildPathFunction · 0.80
InstallFunction · 0.80

Calls 2

ColorMethod · 0.95
MsgMethod · 0.95

Tested by

no test coverage detected