fn log_error(logger: &Arc<TPerfLogger>, error_message: String) {
        let error_event = logger.create_event("lsp_state_error");
        error_event.string("error", error_message);
        logger.complete_event(error_event);
        logger.flush();
    }
/// A quick helper so we can unwrap things and log, if somethings isn't right
A quick helper so we can unwrap things and log, if somethings isn't right
A quick helper so we can unwrap things and log if somethings isn ' t right
fn log_error(logger: &Arc<TPerfLogger>, error_message: String) {
        let error_event = logger.create_event("lsp_state_error");
        error_event.string("error", error_message);
        logger.complete_event(error_event);
        logger.flush();
    }
fn log_error ( logger : & Arc < TPerfLogger > , error_message : String ) { let error_event = logger . create_event ( " " ) ; error_event . string ( " " , error_message ) ; logger . complete_event ( error_event ) ; logger . flush ( ) ; }
A quick helper so we can unwrap things and log, if somethings isn't right
A quick helper so we can unwrap things and log if somethings isn ' t right
logger
&Arc<TPerfLogger>
error_message
String
logger
&Arc<TPerfLogger>
error_message
String