mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Added a special NSOCK_LOG_NONE value, to disable all messages.
This commit is contained in:
@@ -133,11 +133,19 @@ typedef void *nsock_ssl;
|
||||
|
||||
|
||||
/* Logging-related data structures */
|
||||
|
||||
typedef enum {
|
||||
/* --
|
||||
* Actual message priority values */
|
||||
NSOCK_LOG_DBG_ALL,
|
||||
NSOCK_LOG_DBG,
|
||||
NSOCK_LOG_INFO,
|
||||
NSOCK_LOG_ERROR
|
||||
NSOCK_LOG_ERROR,
|
||||
/* --
|
||||
* No messages are issued by nsock with this value.
|
||||
* Users can therefore set loglevel to NSOCK_LOG_NONE
|
||||
* to disable logging */
|
||||
NSOCK_LOG_NONE
|
||||
} nsock_loglevel_t;
|
||||
|
||||
struct nsock_log_rec {
|
||||
|
||||
Reference in New Issue
Block a user