mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-08-03 14:23:26 +02:00
9 lines
207 B
Rust
9 lines
207 B
Rust
use std::sync::Arc;
|
|
|
|
pub trait Logger {
|
|
fn stdout(&self, output: &str) -> eyre::Result<()>;
|
|
fn stderr(&self, output: &str) -> eyre::Result<()>;
|
|
}
|
|
|
|
pub type DynLogger = Arc<dyn Logger + Send + Sync>;
|