Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Logging and Tracing

auto-lsp uses fastrace and log for tracing and logging.

Logging

To enable logging, you can use any logger that implements the log crate.

For example, you can use stderrlog to log to stderr.

stderrlog::new()
    .modules([module_path!(), "auto_lsp"])
    .verbosity(4)
    .init()
    .unwrap();

Tracing

To enable tracing, follow the instructions in the fastrace documentation.