pidcat 0.2.1

An adb logcat wrapper and filters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod file;
mod terminal;

use crate::log::Log;
use async_trait::async_trait;

#[allow(unused_imports)]
pub(crate) use file::FileSink;
#[allow(unused_imports)]
pub(crate) use terminal::TerminalSink;

///
/// Sink trait used to develop log out sink
///
#[async_trait]
pub trait Sink: Send + Sync {
    async fn write(&self, log: Log);
}