#include <time.h>
#include <cstddef>
#include <cstdint>
#include "server_telemetry_logs_client_bits.h"
Go to the source code of this file.
|
typedef void(* | log_delivery_callback_t) (const char *logger_name, OTELLogLevel severity, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count) |
|
typedef bool(* | register_telemetry_logger_v1_t) (log_delivery_callback_t logger) |
| Register telemetry logger callback. More...
|
|
typedef bool(* | unregister_telemetry_logger_v1_t) (log_delivery_callback_t logger) |
| Unregister telemetry logger callback. More...
|
|
typedef void(* | notify_telemetry_logger_v1_t) (PSI_logger *logger, OTELLogLevel level, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count) |
| Wrapper method to notify telemetry logger callback (if registered) of new log event. More...
|
|
◆ log_delivery_callback_t
typedef void(* log_delivery_callback_t) (const char *logger_name, OTELLogLevel severity, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count) |
◆ notify_telemetry_logger_v1_t
typedef void(* notify_telemetry_logger_v1_t) (PSI_logger *logger, OTELLogLevel level, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count) |
Wrapper method to notify telemetry logger callback (if registered) of new log event.
◆ register_telemetry_logger_v1_t
Register telemetry logger callback.
- Parameters
-
logger | pointer to callback function to be registered. |
- Return values
-
◆ unregister_telemetry_logger_v1_t
Unregister telemetry logger callback.
- Parameters
-
logger | pointer to callback function to be unregistered. |
- Return values
-