Skip to main content

pr_warn

Macro pr_warn 

Source
macro_rules! pr_warn {
    ($($arg:tt)*) => { ... };
}
Expand description

Logs a message at the Warn level.

Use for warning conditions that don’t prevent operation but indicate potential problems.

§Example

use reovim_kernel::api::v1::pr_warn;

let path = "/tmp/file.txt";
pr_warn!("file {} not found, using default", path);
pr_warn!("deprecated configuration option used");