dxFeed Graal Native SDK 3.9.0
Loading...
Searching...
No Matches
dxfg_logging.h File Reference

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

Typedefs

typedef enum dxfg_logging_level_t dxfg_logging_level_t
typedef struct dxfg_logging_listener_t dxfg_logging_listener_t
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)
 A callback type for the logging listener.

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
}

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)
int32_t dxfg_logging_set_listener (graal_isolatethread_t *thread, dxfg_logging_listener_t *listener)
int32_t dxfg_logging_set_log_level (graal_isolatethread_t *thread, dxfg_logging_level_t level)
int32_t dxfg_logging_set_err_level (graal_isolatethread_t *thread, dxfg_logging_level_t level)

Detailed Description

dxFeed Graal Native SDK Logging functions and types declarations