[][src]Macro ckb_logger::info

macro_rules! info {
    ($( $args:tt )*) => { ... };
}

Logs a message at the info level using the default target.

This macro logs the message using the default target, the module path of the location of the log request. See info_target! which can override the target.

Examples

use ckb_logger::info;

let conn_info = Connection { port: 40, speed: 3.20 };

info!("Connected to port {} at {} Mb/s", conn_info.port, conn_info.speed);
info!(target: "connection_events", "Successfull connection, port: {}, speed: {}",
      conn_info.port, conn_info.speed);