update
This commit is contained in:
@@ -196,21 +196,6 @@ function envelope_to_json(env::msgEnvelope_v1)
|
||||
JSON.json(obj)
|
||||
end
|
||||
|
||||
""" Helper function to get payload bytes from data
|
||||
This function is kept for compatibility but is no longer used.
|
||||
All serialization is now handled by `_serialize_data`.
|
||||
"""
|
||||
function _get_payload_bytes(data::Any)
|
||||
# This function is kept for compatibility but is no longer used.
|
||||
# All serialization is now handled by `_serialize_data`.
|
||||
if isa(data, Vector{UInt8})
|
||||
return data
|
||||
elseif isa(data, String)
|
||||
return bytes(data)
|
||||
else
|
||||
return bytes(data)
|
||||
end
|
||||
end
|
||||
|
||||
""" Log a trace message with correlation ID and timestamp
|
||||
This function logs information messages with a correlation ID for tracing purposes,
|
||||
|
||||
Reference in New Issue
Block a user