Serialbox  2.2.0
Data serialization library and tools for C/C++, Python and Fortran
Logging methods
SERIALBOX_API void serialboxLoggingEnable (void)
 Enable logging. More...
 
SERIALBOX_API void serialboxLoggingDisable (void)
 Disable logging. More...
 
SERIALBOX_API int serialboxLoggingIsEnabled (void)
 Check if logging is enabled. More...
 

Detailed Description

Function Documentation

◆ serialboxLoggingDisable()

SERIALBOX_API void serialboxLoggingDisable ( void  )

Disable logging.

By default, the logging is disabled. If SERIALBOX_DISABLE_LOGGING is defined, the function does nothing.

Definition at line 20 of file Logging.cpp.

◆ serialboxLoggingEnable()

SERIALBOX_API void serialboxLoggingEnable ( void  )

Enable logging.

By default, the logging is disabled. If SERIALBOX_DISABLE_LOGGING is defined, the function does nothing.

Definition at line 18 of file Logging.cpp.

◆ serialboxLoggingIsEnabled()

SERIALBOX_API int serialboxLoggingIsEnabled ( void  )

Check if logging is enabled.

Returns
1 if logging is enabled, 0 otherwise

Definition at line 22 of file Logging.cpp.