macro_rules! slog_info {
($($arg:tt)*) => { ... };
}Expand description
Log at INFO level with the optional [ses_xxx] session tag.
Use this instead of log::info!(...) in per-request code paths.
The macro automatically reads the thread-local session id and formats:
With session: [aft] [ses_abcd1234] semantic index: rebuilding from scratch
Without session: [aft] semantic index: rebuilding from scratchThe [aft] / [aft-lsp] outer prefix is added by env_logger based on the
log target — do NOT inline it into the macro body, that produces a doubled
[aft-lsp] [aft] prefix when LSP modules log.