Skip to content

Commit

Permalink
fix: rename LOGLEVEL to LOG_LEVEL (#82)
Browse files Browse the repository at this point in the history
* fix: update template .envrc LOG_LEVEL to LOGLEVEL

* update:LOG_LEVEL
  • Loading branch information
liuhuo23 authored Oct 15, 2024
1 parent b6e6e6d commit 17258a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion component-generated/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use tracing_subscriber::{fmt, prelude::*, EnvFilter};
use crate::config;

lazy_static::lazy_static! {
pub static ref LOG_ENV: String = format!("{}_LOGLEVEL", config::PROJECT_NAME.clone());
pub static ref LOG_ENV: String = format!("{}_LOG_LEVEL", config::PROJECT_NAME.clone());
pub static ref LOG_FILE: String = format!("{}.log", env!("CARGO_PKG_NAME"));
}

Expand Down
2 changes: 1 addition & 1 deletion component/template/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use tracing_subscriber::{fmt, prelude::*, EnvFilter};
use crate::config;

lazy_static::lazy_static! {
pub static ref LOG_ENV: String = format!("{}_LOGLEVEL", config::PROJECT_NAME.clone());
pub static ref LOG_ENV: String = format!("{}_LOG_LEVEL", config::PROJECT_NAME.clone());
pub static ref LOG_FILE: String = format!("{}.log", env!("CARGO_PKG_NAME"));
}

Expand Down

0 comments on commit 17258a5

Please sign in to comment.