MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / isLogsEnabledFromConfig

Function isLogsEnabledFromConfig

internal/tui/app.go:456–469  ·  view source on GitHub ↗
(cfg map[string]any)

Source from the content-addressed store, hash-verified

454}
455
456func isLogsEnabledFromConfig(cfg map[string]any) bool {
457 if cfg == nil {
458 return true
459 }
460 value, ok := cfg["logging-to-file"]
461 if !ok {
462 return true
463 }
464 enabled, ok := value.(bool)
465 if !ok {
466 return true
467 }
468 return enabled
469}
470
471func (a *App) setAuthInputPrompt() {
472 if a == nil {

Callers 1

UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected