+ loggger doc comms
test-org/integration-module/pipeline/pr-rc This commit looks good Details

feature/1126
prplV 2025-03-06 10:59:31 +03:00
parent 267e90c972
commit e952a07318
2 changed files with 16 additions and 1 deletions

View File

@ -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| {

View File

@ -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,