Crates.io | sologger_log_transformer |
lib.rs | sologger_log_transformer |
version | 0.2.1 |
source | src |
created_at | 2023-10-11 14:04:02.061169 |
updated_at | 2024-10-16 19:27:16.627678 |
description | Provides utility to extract logs from various Solana API structs, such as blocks, transactions and responses. |
homepage | |
repository | https://github.com/brytelands/sologger |
max_upload_size | |
id | 1000300 |
size | 25,059 |
Overview
This library provides utility to extract logs from various Solana API structs, such as blocks, transactions and responses.
Example Usage
//Extract logs from a Response<RpcLogsResponse> struct for all program IDs
let logs_contexts = from_rpc_response(&response, &ProgramsSelector::new_all_programs()).unwrap();
Please see the sologger-log-context crate for more information regarding LogContext.