Skip to content

Commit

Permalink
change log levels (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
temaniarpit27 authored Oct 3, 2024
1 parent 7f0e649 commit ab01012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paladin-opkind-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub fn operation_derive(input: TokenStream) -> TokenStream {

// Deserialize the input.
let input = op.input_from_bytes(task.serializer, &task.input)?;
#paladin_path::__private::tracing::debug!(operation = %stringify!(#name), input = ?input, "executing operation");
#paladin_path::__private::tracing::trace!(operation = %stringify!(#name), input = ?input, "executing operation");

// Spawn a blocking task to execute the operation.
let output = #paladin_path::__private::tokio::task::spawn_blocking(move || {
Expand All @@ -135,7 +135,7 @@ pub fn operation_derive(input: TokenStream) -> TokenStream {
#paladin_path::operation::FatalStrategy::Terminate
))??;

#paladin_path::__private::tracing::debug!(operation = %stringify!(#name), output = ?typed_output, "operation executed successfully");
#paladin_path::__private::tracing::trace!(operation = %stringify!(#name), output = ?typed_output, "operation executed successfully");

// Serialize the output.
let serialized_output = op.output_to_bytes(task.serializer, typed_output)?;
Expand Down

0 comments on commit ab01012

Please sign in to comment.