/usr/share/swi-prolog/pack/libssh/prolog/ssh_server.pl
All Application Manual Name SummaryHelp

  • prolog
    • ssh_server.pl -- Embedded SSH server
      • ssh_server/0
      • ssh_server/1
      • run_client/6
      • verify_password/3
      • capture_messages/1
 capture_messages(+Level) is det
Redirect all messages of the indicated level to the console of the current thread. This is part of the SSH library as it is notably practical when connected through SSH. Consider using trace/1 on some predicate. We catch capture the output using:
?- capture_messages(debug).
?- trace(p/1).