From 64106c4d3d4ddba8c7bc2af75376e6d3d3d75601 Mon Sep 17 00:00:00 2001 From: Date: Mon, 29 Jun 2015 20:16:15 +0000 Subject: Update documentation --- log/macro.warn!.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 log/macro.warn!.html (limited to 'log/macro.warn!.html') diff --git a/log/macro.warn!.html b/log/macro.warn!.html new file mode 100644 index 0000000..1272a20 --- /dev/null +++ b/log/macro.warn!.html @@ -0,0 +1,115 @@ + + + + + + + + + + log::warn! - Rust + + + + + + + + + + + + + + + +
+

log::warn! + + [] + + [src]

+
+macro_rules! warn {
+    (target: $target:expr, $($arg:tt)*) => (
+        log!(target: $target, $crate::LogLevel::Warn, $($arg)*);
+    );
+    ($($arg:tt)*) => (
+        log!($crate::LogLevel::Warn, $($arg)*);
+    )
+}
+
+

Logs a message at the warn level.

+ +

Logging at this level is disabled if any of the following cfgs are present: +log_level = "off" or log_level = "error".

+
+ + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3