Lines Matching refs:Logger
334 /// methods will each construct a `Logger` and immediately initialize it as the
337 /// If you'd instead need access to the constructed `Logger`, you can use
347 pub struct Logger {
353 /// `Builder` acts as builder for initializing a `Logger`.
823 pub fn build(&mut self) -> Logger {
827 Logger {
835 impl Logger {
847 /// use env_logger::Logger;
849 /// let logger = Logger::from_env("MY_LOG");
856 /// use env_logger::{Logger, Env};
860 /// let logger = Logger::from_env(env);
880 /// use env_logger::Logger;
882 /// let logger = Logger::from_default_env();
902 impl Log for Logger {
914 // If multiple `Logger`s are used by the same threads then the thread-local
1109 impl fmt::Debug for Logger {
1111 f.debug_struct("Logger")
1120 f.debug_struct("Logger").field("built", &true).finish()
1122 f.debug_struct("Logger")