Skip to content

Commit 749253d

Browse files
committed
progress
1 parent 41edb57 commit 749253d

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

docs/codegen/src/env_variables.rs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,30 @@ pub fn generate_env_variables(docs_dir: &Path) -> Result<()> {
3838
env.pgls_config_path.name(),
3939
env.pgls_config_path.description()
4040
)?;
41+
4142
writeln!(
4243
content,
4344
"### `{}`\n\n {}\n",
44-
env.pgls_log_path.name(),
45-
env.pgls_log_path.description()
45+
env.pgt_log_path.name(),
46+
env.pgt_log_path.description()
4647
)?;
4748
writeln!(
4849
content,
4950
"### `{}`\n\n {}\n",
50-
env.pgls_log_level.name(),
51-
env.pgls_log_level.description()
51+
env.pgt_log_level.name(),
52+
env.pgt_log_level.description()
5253
)?;
5354
writeln!(
5455
content,
5556
"### `{}`\n\n {}\n",
56-
env.pgls_log_prefix.name(),
57-
env.pgls_log_prefix.description()
57+
env.pgt_log_prefix.name(),
58+
env.pgt_log_prefix.description()
5859
)?;
5960
writeln!(
6061
content,
6162
"### `{}`\n\n {}\n",
62-
env.pgls_config_path.name(),
63-
env.pgls_config_path.description()
63+
env.pgt_config_path.name(),
64+
env.pgt_config_path.description()
6465
)?;
6566

6667
let data = fs::read_to_string(&file_path)?;

docs/reference/env_variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
### `PGLS_LOG_LEVEL`
1111

12-
Allows to change the log level. Default is debug. This will only affect "pgt*" crates. All others are logged with info level.
12+
Allows to change the log level. Default is debug. This will only affect "pgls*" crates. All others are logged with info level.
1313

1414
### `PGLS_LOG_PREFIX_NAME`
1515

@@ -25,7 +25,7 @@
2525

2626
### `PGT_LOG_LEVEL`
2727

28-
Allows to change the log level. Default is debug. This will only affect "pgt*" crates. All others are logged with info level. Deprecated, use PGLS_LOG_LEVEL instead.
28+
Allows to change the log level. Default is debug. This will only affect "pgls*" crates. All others are logged with info level. Deprecated, use PGLS_LOG_LEVEL instead.
2929

3030
### `PGT_LOG_PREFIX_NAME`
3131

0 commit comments

Comments
 (0)