log::macros::info![src]
macro_rules! info( ($($arg:tt)*) => (log!(::log::INFO, $($arg)*)) )
A convenience macro for logging at the info log level.
Example
#![feature(phase)] #[phase(plugin, link)] extern crate log; fn main() { let ret = 3i; info!("this function is about to return: {}", ret); }#![feature(phase)] #[phase(plugin, link)] extern crate log; info!("this function is about to return: {}", ret);