Lines Matching defs:fmt
254 //! See the [`fmt`] module for more details about custom formats.
275 //! [`fmt`]: fmt/index.html
292 pub mod fmt;
294 pub use self::fmt::glob::*;
297 use self::fmt::writer::{self, Writer};
298 use self::fmt::{FormatFn, Formatter};
380 format: fmt::Builder,
559 /// `Formatter` so that implementations can use the [`std::fmt`] macros
576 /// [`Formatter`]: fmt/struct.Formatter.html
578 /// [`std::fmt`]: https://doc.rust-lang.org/std/fmt/index.html
621 pub fn format_timestamp(&mut self, timestamp: Option<fmt::TimestampPrecision>) -> &mut Self {
628 self.format_timestamp(Some(fmt::TimestampPrecision::Seconds))
633 self.format_timestamp(Some(fmt::TimestampPrecision::Millis))
638 self.format_timestamp(Some(fmt::TimestampPrecision::Micros))
643 self.format_timestamp(Some(fmt::TimestampPrecision::Nanos))
739 pub fn target(&mut self, target: fmt::Target) -> &mut Self {
760 pub fn write_style(&mut self, write_style: fmt::WriteStyle) -> &mut Self {
1107 use std::fmt;
1109 impl fmt::Debug for Logger {
1110 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
1117 impl fmt::Debug for Builder {
1118 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {