dxFeed Graal Native SDK 3.9.0
Loading...
Searching...
No Matches
dxfg_logging.h
Go to the documentation of this file.
1// Copyright (c) 2025 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
8
9#ifndef DXFG_LOGGING_H
10#define DXFG_LOGGING_H
11
12#ifdef __cplusplus
13extern "C" {
14# include <cstdint>
15#else
16# include <stdint.h>
17#endif
18
19#include "dxfg_common.h"
20
22#include "dxfg_javac.h"
23#include "graal_isolate.h"
24
28
54
61
64 int64_t timestamp, const char *thread_name, int64_t thread_id,
65 const char *logger_name, const char *message,
66 dxfg_exception_t *exception, const char *formatted_message,
67 void *user_data);
68
69// dxfg_JavaObjectHandler_release
70
113 void *user_data, DXFG_OUT dxfg_logging_listener_t **listener);
114
124
134
144 // end of Logging
146
147#ifdef __cplusplus
148}
149#endif
150
151#endif // DXFG_LOGGING_H
dxFeed Graal Native SDK Exceptions functions and types declarations
dxFeed Graal Native SDK Common declarations
dxFeed Graal Native SDK Java functions and types declarations
The functions of GraalVM that create, attach to and tear down an isolate, the instance of the SDK in ...
struct __graal_isolatethread_t graal_isolatethread_t
Definition graal_isolate.h:59
#define DXFG_OUT
Definition dxfg_common.h:27
int32_t dxfg_logging_set_err_level(graal_isolatethread_t *thread, dxfg_logging_level_t level)
int32_t dxfg_logging_set_log_level(graal_isolatethread_t *thread, dxfg_logging_level_t level)
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)
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)
A callback type for the logging listener.
Definition dxfg_logging.h:63
int32_t dxfg_logging_set_listener(graal_isolatethread_t *thread, dxfg_logging_listener_t *listener)
dxfg_logging_level_t
Definition dxfg_logging.h:32
@ DXFG_LOGGING_LEVEL_OFF
It is a special level that can be used to turn off logging.
Definition dxfg_logging.h:52
@ DXFG_LOGGING_LEVEL_INFO
It is a message level for informational messages.
Definition dxfg_logging.h:43
@ DXFG_LOGGING_LEVEL_WARN
It is a message level indicating a potential problem.
Definition dxfg_logging.h:46
@ DXFG_LOGGING_LEVEL_ERROR
It is a message level indicating a serious failure.
Definition dxfg_logging.h:49
@ DXFG_LOGGING_LEVEL_DEBUG
It is a message level providing tracing debug information.
Definition dxfg_logging.h:40
@ DXFG_LOGGING_LEVEL_TRACE
Indicates a highly detailed tracing message.
Definition dxfg_logging.h:37
@ DXFG_LOGGING_LEVEL_ALL
Indicates that all messages should be logged.
Definition dxfg_logging.h:34
The Exception. Javadoc.
Definition dxfg_catch_exception.h:44
Definition dxfg_javac.h:27
Definition dxfg_logging.h:58
dxfg_java_object_handler handler
Definition dxfg_logging.h:59