Skip to main content

setup_logger

Function setup_logger 

Source
pub fn setup_logger()
Expand description

Sets up the logger for the application.

  • Native: Log level is determined by DERIBIT_LOG_LEVEL env var (defaults to INFO)
  • WASM: Logs to browser/Worker console at INFO level