Vanilla.PDF  1.5.1
Cross-platform toolkit for creating and modifying PDF documents
c_logging.h
Go to the documentation of this file.
1 #ifndef _C_LOGGING_H
2 #define _C_LOGGING_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
39  typedef enum {
44 
49 
54 
59 
66 
75  VANILLAPDF_API error_type CALLING_CONVENTION Logging_IsEnabled(boolean_type* result);
76 
80  VANILLAPDF_API error_type CALLING_CONVENTION Logging_Enable(void);
81 
85  VANILLAPDF_API error_type CALLING_CONVENTION Logging_Disable(void);
86 
90  VANILLAPDF_API error_type CALLING_CONVENTION Logging_GetSeverity(LoggingSeverity* level);
91 
95  VANILLAPDF_API error_type CALLING_CONVENTION Logging_SetSeverity(LoggingSeverity level);
96 
99 #ifdef __cplusplus
100 };
101 #endif
102 
103 #endif /* _C_LOGGING_H */
Include only program and input errors.
Definition: c_logging.h:58
Most verbose setting includes all available informations.
Definition: c_logging.h:43
LoggingSeverity
Available severity settings.
Definition: c_logging.h:39
error_type Logging_IsEnabled(boolean_type *result)
Determine if logging is enabled in current library instance.
Include only fatal problems, that disallow program to continue operating and will be shut down...
Definition: c_logging.h:64
This file contains all type forward declarations returned by the library API.
Include detailed, but much less verbose output.
Definition: c_logging.h:48
error_type Logging_SetSeverity(LoggingSeverity level)
Set new logging severity.
error_type Logging_GetSeverity(LoggingSeverity *level)
Get actual logging severity.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
This file contains types and constants used as parameters or return values.
error_type Logging_Disable(void)
Disable logging for current library instance.
Include only potentially dangerous informations.
Definition: c_logging.h:53
error_type Logging_Enable(void)
Enable logging for current library instance.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31