MCPcopy Index your code
hub / github.com/devspace-sh/devspace / WithLevel

Method WithLevel

pkg/util/log/logger.go:27–27  ·  view source on GitHub ↗

WithLevel creates a new logger with the given level

(level logrus.Level)

Source from the content-addressed store, hash-verified

25 log.Logger
26 // WithLevel creates a new logger with the given level
27 WithLevel(level logrus.Level) Logger
28 Question(params *survey.QuestionOptions) (string, error)
29 ErrorStreamOnly() Logger
30 WithPrefix(prefix string) Logger

Callers 2

init.goFile · 0.65

Implementers 4

DiscardLoggerpkg/util/log/discard_logger.go
fileLoggerpkg/util/log/file_logger.go
StreamLoggerpkg/util/log/stream_logger.go
FakeLoggerpkg/util/log/testing/fake.go

Calls

no outgoing calls

Tested by

no test coverage detected