mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-02 09:09:17 +00:00
log: test log
This commit is contained in:
+1
-1
@@ -350,8 +350,8 @@ thunk-rs = { git = "https://github.com/easytier/thunk.git", default-features = f
|
|||||||
serial_test = "3.0.0"
|
serial_test = "3.0.0"
|
||||||
rstest = "0.25.0"
|
rstest = "0.25.0"
|
||||||
futures-util = "0.3.31"
|
futures-util = "0.3.31"
|
||||||
maplit = "1.0.2"
|
|
||||||
tempfile = "3.22.0"
|
tempfile = "3.22.0"
|
||||||
|
ctor = "0.8.0"
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
[target.'cfg(target_os = "linux")'.dev-dependencies]
|
||||||
defguard_wireguard_rs = "0.4.2"
|
defguard_wireguard_rs = "0.4.2"
|
||||||
|
|||||||
@@ -277,6 +277,7 @@ pub mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
use crate::common::config::{self};
|
use crate::common::config::{self};
|
||||||
|
|
||||||
|
#[ctor::ctor]
|
||||||
pub fn init() {
|
pub fn init() {
|
||||||
let _ = Registry::default()
|
let _ = Registry::default()
|
||||||
.with(console_layers(LevelFilter::DEBUG).unwrap())
|
.with(console_layers(LevelFilter::DEBUG).unwrap())
|
||||||
|
|||||||
Reference in New Issue
Block a user