MCPcopy Index your code
hub / github.com/zaproxy/zaproxy / info

Method info

zap/src/main/java/org/parosproxy/paros/CommandLine.java:684–693  ·  view source on GitHub ↗

A method for reporting informational messages in CommandLineListener#execute(CommandLineArgument[]) implementations. It ensures that messages are written to the log file and/or written to stdout as appropriate. @param str the informational message

(String str)

Source from the content-addressed store, hash-verified

682 * @param str the informational message
683 */
684 public static void info(String str) {
685 switch (ZAP.getProcessType()) {
686 case cmdline:
687 System.out.println(str);
688 break;
689 default: // Ignore
690 }
691 // Always write to the log
692 LOGGER.info(str);
693 }
694
695 /**
696 * A method for reporting error messages in {@link

Callers 15

openCmdLineFileMethod · 0.95
installAddOnsMethod · 0.95
uninstallAddOnsMethod · 0.95
preExecuteMethod · 0.95
writeCertMethod · 0.95
executeMethod · 0.95
downloadReleaseMethod · 0.80
copyDefaultConfigsMethod · 0.80
logAndPrintInfoMethod · 0.80
openSessionMethod · 0.80

Calls 2

getProcessTypeMethod · 0.95
printlnMethod · 0.45

Tested by

no test coverage detected