[−][src]Macro emit::warn
Emit a warning event to the ambient pipeline.
Examples
The example below will be emitted at the emit::LogLevel::Warn
level.
ⓘThis example is not tested
warn!("SQL query took {} ms", elapsed: 7890);
Emit a warning event to the ambient pipeline.
The example below will be emitted at the emit::LogLevel::Warn
level.
warn!("SQL query took {} ms", elapsed: 7890);