pub fn setup_logger()Expand description
Sets up the logger for the application.
The logger level is determined by the DERIBIT_LOG_LEVEL environment variable.
If the variable is not set, it defaults to INFO.
This function can be called multiple times safely - it will only initialize the logger on the first call.
ยงExample
use deribit_fix::utils::setup_logger;
fn main() {
setup_logger();
// Application code here
}