cryptsetup API
Public cryptsetup API
Loading...
Searching...
No Matches
Macros | Functions
Library debug level

Macros

#define CRYPT_DEBUG_ALL   -1
 
#define CRYPT_DEBUG_JSON   -2
 
#define CRYPT_DEBUG_NONE   0
 

Functions

void crypt_set_debug_level (int level)
 

Detailed Description

Set library debug level

Macro Definition Documentation

◆ CRYPT_DEBUG_ALL

#define CRYPT_DEBUG_ALL   -1

Debug all

◆ CRYPT_DEBUG_JSON

#define CRYPT_DEBUG_JSON   -2

Debug all with additional JSON dump (for LUKS2)

◆ CRYPT_DEBUG_NONE

#define CRYPT_DEBUG_NONE   0

Debug none

Function Documentation

◆ crypt_set_debug_level()

void crypt_set_debug_level ( int  level)

Set the debug level for library

Parameters
leveldebug level