breadx 3.1.0

Pure-Rust X11 connection implementation with a focus on adaptability
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//               Copyright John Nunley, 2022.
// Distributed under the Boost Software License, Version 1.0.
//       (See accompanying file LICENSE or copy at
//         https://www.boost.org/LICENSE_1_0.txt)

#![cfg(test)]

/// Set up a `tracing` subscriber for testing purposes.
#[allow(dead_code)]
pub(crate) fn setup_tracing() {
    tracing_subscriber::fmt::fmt()
        //.with_max_level(tracing::Level::TRACE)
        .try_init()
        .ok();
}