log: Add new debug log levels.

These should be used in future!
This commit is contained in:
Andreas Schneider
2011-09-10 11:54:30 +02:00
parent b3d62ecba8
commit 08129002de

View File

@@ -254,9 +254,6 @@ enum ssh_keytypes_e{
* @{
*/
/**
* @brief Verbosity level for logging and help to debugging
*/
enum {
/** No logging at all
*/
@@ -277,6 +274,26 @@ enum {
/** @} */
#define SSH_LOG_RARE SSH_LOG_WARNING
/**
* @name Logging levels
*
* @brief Debug levels for logging.
* @{
*/
/** No logging at all */
#define SSH_LOG_NONE 0
/** Show only warnings */
#define SSH_LOG_WARN 1
/** Get some information what's going on */
#define SSH_LOG_INFO 2
/** Get detailed debuging information **/
#define SSH_LOG_DEBUG 3
/** Get trace output, packet information, ... */
#define SSH_LOG_TRACE 4
/** @} */
enum ssh_options_e {
SSH_OPTIONS_HOST,
SSH_OPTIONS_PORT,