- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EnableAnonymous (0.12 sec)
-
internal/logger/logger.go
func EnableJSON() { color.TurnOff() // no colored outputs necessary in JSON mode. jsonFlag = true quietFlag = true } // EnableAnonymous - turns anonymous flag // to avoid printing sensitive information. func EnableAnonymous() { anonFlag = true } // IsJSON - returns true if jsonFlag is true func IsJSON() bool { return jsonFlag }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/common-main.go
} return err } func handleCommonArgs(ctxt serverCtxt) { if ctxt.JSON { logger.EnableJSON() } if ctxt.Quiet { logger.EnableQuiet() } if ctxt.Anonymous { logger.EnableAnonymous() } consoleAddr := ctxt.ConsoleAddr addr := ctxt.Addr configDir := ctxt.ConfigDir configSet := ctxt.configDirSet certsDir := ctxt.CertsDir certsSet := ctxt.certsDirSet
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0)