+ loggger doc comms
test-org/integration-module/pipeline/pr-rc This commit looks good
Details
test-org/integration-module/pipeline/pr-rc This commit looks good
Details
parent
267e90c972
commit
e952a07318
|
|
@ -5,6 +5,22 @@ use std::io::Write;
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use log::info;
|
use log::info;
|
||||||
|
|
||||||
|
/// # Fn `setup_logger`
|
||||||
|
///
|
||||||
|
/// ## function to init terminal logger
|
||||||
|
///
|
||||||
|
/// ### Dev-Info :
|
||||||
|
///
|
||||||
|
/// *input* : -
|
||||||
|
///
|
||||||
|
/// *output* : `anyhow::Result<()>`
|
||||||
|
///
|
||||||
|
/// *initiator* : fn `main`
|
||||||
|
///
|
||||||
|
/// *managing* : -
|
||||||
|
///
|
||||||
|
/// *depends on* : -
|
||||||
|
///
|
||||||
pub async fn setup_logger() -> Result<()> {
|
pub async fn setup_logger() -> Result<()> {
|
||||||
Builder::new()
|
Builder::new()
|
||||||
.format(move |buf, record| {
|
.format(move |buf, record| {
|
||||||
|
|
|
||||||
|
|
@ -421,7 +421,6 @@ pub mod enode_monitoring {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// "{\"access_token\":\"5BNQsmiGFQRNA651HeQxZekYgYUAWZ4e\",\"role\":\"administrator\",\"startRT\":\"2025-02-25T09:03:27.581Z\",\"login\":\"admin\",\"push_active\":null,\"$id\":\"systemuser$1\"}",
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
pub struct AuthResponse {
|
pub struct AuthResponse {
|
||||||
pub access_token : String,
|
pub access_token : String,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue