libyang  1.0.184
YANG data modeling language library
Logging options
Collaboration diagram for Logging options:

Macros

#define LY_LOLOG   0x01
 
#define LY_LOSTORE   0x02
 
#define LY_LOSTORE_LAST   0x06
 

Detailed Description

Logging option bits of libyang.

Macro Definition Documentation

◆ LY_LOLOG

#define LY_LOLOG   0x01

Log messages normally, using callback if set. If not set, messages will not be printed by libyang.

Definition at line 1885 of file libyang.h.

◆ LY_LOSTORE

#define LY_LOSTORE   0x02

Store any generated errors or warnings, never verbose or debug messages. Note that if LY_LOLOG is not set then verbose and debug messages are always lost.

Definition at line 1887 of file libyang.h.

◆ LY_LOSTORE_LAST

#define LY_LOSTORE_LAST   0x06

Store any generated errors or warnings but only the last message, always overwrite the previous one.

Definition at line 1889 of file libyang.h.