libssh  0.5.2
Enumerations | Functions
The SSH logging functions.
The libssh API

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 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,
  ... 
)