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, char *format,...)
 logs an 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,
char *  format,
  ... 
)

logs an event

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


Generated on Sun Aug 23 08:55:36 2009 for libssh by  doxygen 1.4.7