123 int64_t timestamp,
const char *thread_name, int64_t thread_id,
124 const char *logger_name,
const char *message,
181DXFG_DEPRECATED(
"use dxfg_v4_logging_listener_new()")
206DXFG_DEPRECATED(
"use dxfg_v4_logging_set_listener()")
228DXFG_DEPRECATED(
"use dxfg_v4_logging_set_log_level()")
248DXFG_DEPRECATED(
"use dxfg_v4_logging_set_err_level()")
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
The state of one thread attached to an isolate: the first parameter (thread) of the SDK functions.
Definition graal_isolate.h:60
#define DXFG_OUT
Definition dxfg_common.h:37
int32_t dxfg_logging_set_err_level(graal_isolatethread_t *thread, dxfg_logging_level_t level)
Sets the logging level for the err file.
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_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.
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...
Definition dxfg_logging.h:122
int32_t dxfg_logging_set_listener(graal_isolatethread_t *thread, dxfg_logging_listener_t *listener)
Installs the logging listener.
dxfg_logging_level_t
The logging levels that can be used to control the logging output.
Definition dxfg_logging.h:57
@ DXFG_LOGGING_LEVEL_OFF
Definition dxfg_logging.h:77
@ DXFG_LOGGING_LEVEL_INFO
Definition dxfg_logging.h:68
@ DXFG_LOGGING_LEVEL_WARN
Definition dxfg_logging.h:71
@ DXFG_LOGGING_LEVEL_ERROR
Definition dxfg_logging.h:74
@ DXFG_LOGGING_LEVEL_DEBUG
Definition dxfg_logging.h:65
@ DXFG_LOGGING_LEVEL_TRACE
Definition dxfg_logging.h:62
@ DXFG_LOGGING_LEVEL_ALL
Definition dxfg_logging.h:59
An exception that was thrown by the Java side: the class, the message, the stack trace and the cause.
Definition dxfg_catch_exception.h:83
The handle of a Java object: the reference by which the C code refers to an object that lives in Java...
Definition dxfg_javac.h:60
A handle of a Java InterceptableLoggingListener object, a wrapper of a listener that allows to interc...
Definition dxfg_logging.h:87
dxfg_java_object_handler handler
Definition dxfg_logging.h:89