This is a rust logging implementation for flows.network.

Usage example

```rust use slackflows::{listentochannel, sendmessagetochannel}; use flowsnetplatformsdk::logger;

[no_mangle]

pub fn run() { logger::init(); listentochannel("myworkspace", "mychannel", |sm| { log::info!("Message received"); sendmessageto_channel("myworkspace", "mychannel", format!("Hello, {}", sm.text)) }).await; } ```

Logging is controlled via the RUST_LOG environment variable. It can be set in the 'Setting' tab in your flow's page. Values should be one of the log levels, they are error, warn, info, debug, trace. For the above example, it should be set to info, debug or trace to make the message be printed. Without RUST_LOG being set, only the error log will be printed. You can see the messages in the 'Running log' tab in you flow's page.

The whole document is here.