1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-09-10 02:09:25 +03:00

libssh.h: Update loglevel doc

Signed-off-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Norbert Pocs
2022-09-13 12:13:38 +02:00
committed by Andreas Schneider
parent 5f4347d5e1
commit 20d9642c4c

View File

@@ -328,16 +328,16 @@ enum {
/** No logging at all /** No logging at all
*/ */
SSH_LOG_NOLOG=0, SSH_LOG_NOLOG=0,
/** Only warnings /** Only unrecoverable errors
*/ */
SSH_LOG_WARNING, SSH_LOG_WARNING,
/** High level protocol information /** Information for the users
*/ */
SSH_LOG_PROTOCOL, SSH_LOG_PROTOCOL,
/** Lower level protocol infomations, packet level /** Debug information, to see what is going on
*/ */
SSH_LOG_PACKET, SSH_LOG_PACKET,
/** Every function path /** Trace information and recoverable error messages
*/ */
SSH_LOG_FUNCTIONS SSH_LOG_FUNCTIONS
}; };
@@ -353,7 +353,7 @@ enum {
/** No logging at all */ /** No logging at all */
#define SSH_LOG_NONE 0 #define SSH_LOG_NONE 0
/** Show only warnings */ /** Show only fatal warnings */
#define SSH_LOG_WARN 1 #define SSH_LOG_WARN 1
/** Get some information what's going on */ /** Get some information what's going on */
#define SSH_LOG_INFO 2 #define SSH_LOG_INFO 2