diff --git a/extensions/scarb-cairo-language-server/src/main.rs b/extensions/scarb-cairo-language-server/src/main.rs index b1b90bc90..8adebad05 100644 --- a/extensions/scarb-cairo-language-server/src/main.rs +++ b/extensions/scarb-cairo-language-server/src/main.rs @@ -1,3 +1,8 @@ -fn main() { - cairo_lang_language_server::start() +use cairo_lang_language_server::serve_language_service; +use cairo_lang_utils::logging::init_logging; + +#[tokio::main] +async fn main() { + init_logging(log::LevelFilter::Warn); + serve_language_service().await; }