(
mut self,
backend: Arc<T>,
)
| 73 | } |
| 74 | |
| 75 | pub fn add_backend<T: GuildLoggerBackend + Send + Sync + 'static>( |
| 76 | mut self, |
| 77 | backend: Arc<T>, |
| 78 | ) -> Self { |
| 79 | self.backends.push(backend); |
| 80 | self |
| 81 | } |
| 82 | |
| 83 | pub fn run(self) -> LogSender { |
| 84 | let (tx, rx) = unbounded_channel(); |
no outgoing calls
no test coverage detected