Macro spdlog::source_location_current
source · macro_rules! source_location_current {
() => { ... };
}Expand description
Constructs a SourceLocation with current source location.
Returns None if the feature source-location is not enabled.
Examples
use spdlog::{SourceLocation, source_location_current};
let source_location: Option<SourceLocation> = source_location_current!();