# Macro log::info [−] [src]

    macro_rules! info {
        (target: $target:expr, $($arg:tt)*) => { ... };
        ($($arg:tt)*) => { ... };
    }

Logs a message at the info level.

Logging at this level is disabled if any of the following features are present: `max_level_off`, `max_level_error`, or `max_level_warn`.

When building in release mode (i.e., without the `debug_assertions` option), logging at this level is also disabled if any of the following features are present: `release_max_level_off`, `release_max_level_error`, or `release_max_level_warn`.

# Examples

    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);

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)