Skip to main content

setup

Function setup 

Source
pub fn setup(level: LogLevel)
Expand description

Setup logging with specified level

This function initializes the logging system with the given log level. If the local-debug feature is enabled, it uses tracing_subscriber.

§Arguments

  • level - The log level to use

§Examples

use composio_sdk::logging::{setup, LogLevel};

setup(LogLevel::Debug);