Searched refs:WriteStyle (Results 1 – 6 of 6) sorted by relevance
/third_party/rust/crates/env_logger/src/fmt/writer/ |
D | mod.rs | 89 pub enum WriteStyle { enum 98 impl Default for WriteStyle { implementation 100 WriteStyle::Auto in default() 107 write_style: WriteStyle, 111 pub fn write_style(&self) -> WriteStyle { in write_style() argument 130 write_style: WriteStyle, 162 pub(crate) fn write_style(&mut self, write_style: WriteStyle) -> &mut Self { in write_style() 179 WriteStyle::Auto => { in build() 185 WriteStyle::Auto in build() 187 WriteStyle::Never in build() [all …]
|
/third_party/rust/crates/env_logger/src/fmt/ |
D | mod.rs | 49 pub use super::{Target, TimestampPrecision, WriteStyle}; 99 write_style: WriteStyle, 110 pub(crate) fn write_style(&self) -> WriteStyle { in write_style() argument 430 .write_style(WriteStyle::Never) in format_with_header() 452 .write_style(WriteStyle::Never) in format_no_header() 474 .write_style(WriteStyle::Never) in format_indent_spaces() 496 .write_style(WriteStyle::Never) in format_indent_zero_spaces() 518 .write_style(WriteStyle::Never) in format_indent_spaces_no_header() 540 .write_style(WriteStyle::Never) in format_suffix() 562 .write_style(WriteStyle::Never) in format_suffix_with_indent() [all …]
|
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/ |
D | extern_impl.rs | 11 use crate::fmt::{Formatter, WritableTarget, WriteStyle}; 83 pub(in crate::fmt::writer) fn stderr(is_test: bool, write_style: WriteStyle) -> Self { in stderr() 94 pub(in crate::fmt::writer) fn stdout(is_test: bool, write_style: WriteStyle) -> Self { in stdout() 106 write_style: WriteStyle, in pipe() argument 179 impl WriteStyle { implementation 182 WriteStyle::Always => ColorChoice::Always, in into_color_choice() 183 WriteStyle::Auto => ColorChoice::Auto, in into_color_choice() 184 WriteStyle::Never => ColorChoice::Never, in into_color_choice()
|
D | shim_impl.rs | 3 use crate::fmt::{WritableTarget, WriteStyle}; 14 pub(in crate::fmt::writer) fn stderr(_is_test: bool, _write_style: WriteStyle) -> Self { in stderr() 20 pub(in crate::fmt::writer) fn stdout(_is_test: bool, _write_style: WriteStyle) -> Self { in stdout() 27 _write_style: WriteStyle, in pipe() argument
|
/third_party/rust/crates/env_logger/examples/ |
D | direct_logger.rs | 7 use env_logger::{Builder, WriteStyle}; 29 .write_style(WriteStyle::Always) in main() 34 .write_style(WriteStyle::Never) in main()
|
/third_party/rust/crates/env_logger/src/ |
D | lib.rs | 760 pub fn write_style(&mut self, write_style: fmt::WriteStyle) -> &mut Self { in write_style()
|