surrealcs_kernel/logging/messages/actors_client/
transaction.rsuse crate::logging::messages::transactions::base::TransactionJourney;
use crate::messages::client::message::TransactionMessage;
const TARGET: &str = "surrealcs::kernel::client::transaction";
pub fn log_start_client_transaction_actor_message(message: &TransactionMessage) {
if let TransactionMessage::TransactionOperation(operation) = &message {
let tx_pointer = TransactionJourney::RecievedByClientTransactionActor;
let log = tx_pointer.from_wrapped_server_message(operation);
if let Some(log) = log {
tracing::trace!(target: TARGET, "{log}");
}
}
}