[][src]Crate devout

Getting Started

Add the following to your Cargo.toml:

[dependencies.devout]
version = "0.1.0"
use devout::{dev, out};

const INFO: &str = "Info";

// Prints twice when "dev" feature is enabled, once otherwise
dev!(INFO, "Result: {}", 4.4);
out!(INFO, "Result: {}", 4.4);

Macros

dev

Use for messages to be journaled only during development.

out

Use for messages to be journaled during both production and development.