Go to the documentation of this file.
28 #include <azure/core/_az_cfg_prefix.h>
44 #define _az_LOG_MAKE_CLASSIFICATION(facility, code) \
45 ((az_log_classification)(((uint32_t)(facility) << 16U) | (uint32_t)(code)))
53 = _az_LOG_MAKE_CLASSIFICATION(_az_FACILITY_CORE_HTTP, 1),
56 = _az_LOG_MAKE_CLASSIFICATION(_az_FACILITY_CORE_HTTP, 2),
59 _az_FACILITY_CORE_HTTP,
97 (void)log_message_callback;
99 #endif // AZ_NO_LOGGING
114 #ifndef AZ_NO_LOGGING
121 (void)message_filter_callback;
123 #endif // AZ_NO_LOGGING
125 #include <azure/core/_az_cfg_suffix.h>
Definition of az_result and helper functions.
void(* az_log_message_fn)(az_log_classification classification, az_span message)
Defines the signature of the callback function that application developers must provide to receive Az...
Definition: az_log.h:70
@ AZ_LOG_HTTP_REQUEST
HTTP request is about to be sent.
Definition: az_log.h:52
An az_span represents a contiguous byte buffer and is used for string manipulations,...
az_log_classification_core
Identifies the az_log_classification produced by the SDK Core.
Definition: az_log.h:51
int32_t az_log_classification
Identifies the classifications of log messages produced by the SDK.
Definition: az_log.h:37
bool(* az_log_classification_filter_fn)(az_log_classification classification)
Defines the signature of the callback function that application developers must provide which will be...
Definition: az_log.h:80
void az_log_set_message_callback(az_log_message_fn log_message_callback)
Sets the functions that will be invoked to report an SDK log message.
void az_log_set_classification_filter_callback(az_log_classification_filter_fn message_filter_callback)
Sets the functions that will be invoked to check whether an SDK log message should be reported.
@ AZ_LOG_HTTP_RETRY
First HTTP request did not succeed and will be retried.
Definition: az_log.h:58
@ AZ_LOG_HTTP_RESPONSE
HTTP response was received.
Definition: az_log.h:55
Represents a "view" over a byte buffer that represents a contiguous region of memory....
Definition: az_span.h:33