MCPcopy Create free account
hub / github.com/devspace-sh/devspace / stripEscapeSequences

Function stripEscapeSequences

pkg/util/log/file_logger.go:315–317  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

313}
314
315func stripEscapeSequences(str string) string {
316 return stripansi.Strip(strings.TrimSpace(str))
317}
318
319func (f *fileLogger) Question(params *survey.QuestionOptions) (string, error) {
320 return "", errors.New("questions in file logger not supported")

Callers 13

DebugMethod · 0.85
DebugfMethod · 0.85
InfoMethod · 0.85
InfofMethod · 0.85
WarnMethod · 0.85
WarnfMethod · 0.85
ErrorMethod · 0.85
ErrorfMethod · 0.85
FatalMethod · 0.85
FatalfMethod · 0.85
DoneMethod · 0.85
DonefMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected