|
dxFeed Graal Native SDK 3.15.0-rc1
|
dxFeed Graal Native SDK Logging functions and types declarations More...
#include <stdint.h>#include "dxfg_common.h"#include "dxfg_catch_exception.h"#include "dxfg_javac.h"#include "graal_isolate.h"Go to the source code of this file.
Data Structures | |
| struct | dxfg_logging_listener_t |
| A handle of a Java InterceptableLoggingListener object, a wrapper of a listener that allows to intercept the logged messages; release it with dxfg_JavaObjectHandler_release(). More... | |
Typedefs | |
| typedef enum dxfg_logging_level_t | dxfg_logging_level_t |
| The logging levels that can be used to control the logging output. | |
| typedef struct dxfg_logging_listener_t | dxfg_logging_listener_t |
| A handle of a Java InterceptableLoggingListener object, a wrapper of a listener that allows to intercept the logged messages; release it with dxfg_JavaObjectHandler_release(). | |
| typedef void(*) | dxfg_logging_listener_function_t(graal_isolatethread_t *thread, dxfg_logging_level_t level, int64_t timestamp, const char *thread_name, int64_t thread_id, const char *logger_name, const char *message, dxfg_exception_t *exception, const char *formatted_message, void *user_data) |
| The function of a dxfg_logging_listener_t: called for every message that is logged while the listener is installed and the level of the message is not below the logging level (see dxfg_logging_set_log_level()). | |
Enumerations | |
| enum | dxfg_logging_level_t { DXFG_LOGGING_LEVEL_ALL = 0 , DXFG_LOGGING_LEVEL_TRACE , DXFG_LOGGING_LEVEL_DEBUG , DXFG_LOGGING_LEVEL_INFO , DXFG_LOGGING_LEVEL_WARN , DXFG_LOGGING_LEVEL_ERROR , DXFG_LOGGING_LEVEL_OFF } |
| The logging levels that can be used to control the logging output. More... | |
Functions | |
| int32_t | dxfg_logging_listener_new (graal_isolatethread_t *thread, dxfg_logging_listener_function_t user_func, void *user_data, DXFG_OUT dxfg_logging_listener_t **listener) |
| Creates a new logging listener. | |
| int32_t | dxfg_logging_set_listener (graal_isolatethread_t *thread, dxfg_logging_listener_t *listener) |
| Installs the logging listener. | |
| int32_t | dxfg_logging_set_log_level (graal_isolatethread_t *thread, dxfg_logging_level_t level) |
| Sets the logging level for the listener or the console or the log file. | |
| int32_t | dxfg_logging_set_err_level (graal_isolatethread_t *thread, dxfg_logging_level_t level) |
| Sets the logging level for the err file. | |
dxFeed Graal Native SDK Logging functions and types declarations