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_HTTP, 1),
56 = _az_LOG_MAKE_CLASSIFICATION(_az_FACILITY_HTTP, 2),
83 (void)log_message_callback;
85 #endif // AZ_NO_LOGGING
87 #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 write in order to rec...
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
void az_log_set_message_callback(az_log_message_fn log_message_callback)
Sets the function that will be invoked to report an SDK log message.
@ 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