The SSH logging functions.
[The libssh API]

Logging functions for debugging and problem resolving. More...

Collaboration diagram for The SSH logging functions.:

Enumerations

enum  {
  SSH_LOG_NOLOG = 0, SSH_LOG_RARE, SSH_LOG_PROTOCOL, SSH_LOG_PACKET,
  SSH_LOG_FUNCTIONS
}
 

Verbosity level for logging and help to debugging.

More...

Functions

void ssh_log (ssh_session session, int verbosity, const char *format,...)
 Log a SSH event.

Detailed Description

Logging functions for debugging and problem resolving.


Enumeration Type Documentation

anonymous enum

Verbosity level for logging and help to debugging.

Enumerator:
SSH_LOG_NOLOG 

No logging at all.

SSH_LOG_RARE 

Only rare and noteworthy events.

SSH_LOG_PROTOCOL 

High level protocol information.

SSH_LOG_PACKET 

Lower level protocol infomations, packet level.

SSH_LOG_FUNCTIONS 

Every function path.


Function Documentation

void ssh_log ( ssh_session  session,
int  verbosity,
const char *  format,
  ... 
)

Log a SSH event.

Parameters:
session The SSH session.
verbosity The verbosity of the event.
format The format string of the log entry.

Referenced by privatekey_from_file(), ssh_channel_close(), ssh_channel_read(), ssh_channel_send_eof(), ssh_connect(), ssh_handle_key_exchange(), ssh_publickey_to_file(), ssh_scp_pull_request(), ssh_scp_push_file(), ssh_try_publickey_from_file(), ssh_userauth_autopubkey(), and ssh_userauth_privatekey_file().


Generated on 22 Mar 2017 for libssh by  doxygen 1.6.1