SSH Logging

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

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 informations.

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.

References SSH_LOG_FUNCTIONS.

Referenced by channel_close(), channel_read(), channel_read_buffer(), channel_send_eof(), privatekey_from_file(), ssh_connect(), ssh_publickey_to_file(), ssh_scp_pull_request(), ssh_scp_push_file(), ssh_scp_response(), ssh_try_publickey_from_file(), and ssh_userauth_autopubkey().

Generated on Mon Jul 5 22:12:40 2010 for libssh by  doxygen 1.6.3