dxFeed Graal Native SDK 3.15.0-rc1
Loading...
Searching...
No Matches
dxfg_v4_logging.h
Go to the documentation of this file.
1// Copyright (c) 2026 Devexperts LLC.
2// SPDX-License-Identifier: MPL-2.0
3
8
9#ifndef DXFG_V4_LOGGING_H
10#define DXFG_V4_LOGGING_H
11
12#include "dxfg_logging.h"
13#include "dxfg_v4_common.h"
15#include "dxfg_v4_javac.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
27
30
33
36
60 void *user_data, DXFG_OUT dxfg_v4_logging_listener_t **listener);
61
82
101
118 // end of V4_Logging
120
121#ifdef __cplusplus
122}
123#endif
124
125#endif // DXFG_V4_LOGGING_H
dxFeed Graal Native SDK Logging functions and types declarations
The v4 functions of dxfg_catch_exception.h and the v4 names of its types (see the group Exceptions (v...
The v4 functions of dxfg_common.h and the v4 names of its types (see the group Common (v4)).
The v4 functions of dxfg_javac.h and the v4 names of its types (see the group Javac (v4)).
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
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
dxfg_logging_level_t
The logging levels that can be used to control the logging output.
Definition dxfg_logging.h:57
dxfg_logging_listener_t dxfg_v4_logging_listener_t
A handle of a Java InterceptableLoggingListener object, a wrapper of a listener that allows to interc...
Definition dxfg_v4_logging.h:32
int32_t dxfg_v4_logging_set_err_level(graal_isolatethread_t *thread, dxfg_v4_logging_level_t level)
Sets the logging level for the err file.
int32_t dxfg_v4_logging_set_log_level(graal_isolatethread_t *thread, dxfg_v4_logging_level_t level)
Sets the logging level for the listener or the console or the log file.
int32_t dxfg_v4_logging_set_listener(graal_isolatethread_t *thread, dxfg_v4_logging_listener_t *listener)
Installs the logging listener.
dxfg_logging_level_t dxfg_v4_logging_level_t
The logging levels that can be used to control the logging output.
Definition dxfg_v4_logging.h:29
dxfg_logging_listener_function_t dxfg_v4_logging_listener_function_t
The function of a dxfg_logging_listener_t: called for every message that is logged while the listener...
Definition dxfg_v4_logging.h:35
int32_t dxfg_v4_logging_listener_new(graal_isolatethread_t *thread, dxfg_v4_logging_listener_function_t user_func, void *user_data, DXFG_OUT dxfg_v4_logging_listener_t **listener)
Creates a new logging listener.
A handle of a Java InterceptableLoggingListener object, a wrapper of a listener that allows to interc...
Definition dxfg_logging.h:87