Lines Matching refs:PlatformLogWriter
167 let mut writer = PlatformLogWriter::new(record.level(), tag); in log()
273 struct PlatformLogWriter<'a> { struct
282 impl<'a> PlatformLogWriter<'a> { argument
284 pub fn new(level: Level, tag: &CStr) -> PlatformLogWriter { in new() argument
286 PlatformLogWriter { in new()
302 pub fn new(level: Level, tag: &CStr) -> PlatformLogWriter { in new() argument
304 PlatformLogWriter { in new()
374 impl<'a> fmt::Write for PlatformLogWriter<'a> { implementation
534 let writer = PlatformLogWriter::new(Level::Warn, &tag); in platform_log_writer_init_values()
632 fn get_tag_writer() -> PlatformLogWriter<'static> { in get_tag_writer()
633 PlatformLogWriter::new(Level::Warn, &CStr::from_bytes_with_nul(b"tag\0").unwrap()) in get_tag_writer()