nushell/crates/nu-std/std
Antoine Stevan 39156930f5
fix std log (#12470)
related to
- https://github.com/nushell/nushell/pull/12196

# Description
while i'm 100% okey with the original intent behind
https://github.com/nushell/nushell/pull/12196, i think the PR did
introduce two unintended things:
- extra parentheses that make the `log.nu` module look like Lisp lol
- a renaming of the `NU_LOG_LEVEL` environment variable to
`NU_log-level`. this breaks previous usage of `std log` and, as it's not
mentionned at all in the PR, i thought it was not intentional 😋

# User-Facing Changes
users can now control `std log` with `$env.NU_LOG_LEVEL`

# Tests + Formatting
the "log" tests have been fixed as well.

# After Submitting
2024-04-10 17:30:58 -04:00
..
assert.nu Refactor error make (#10923) 2023-11-03 10:09:33 -05:00
dirs.nu Refactor error make (#10923) 2023-11-03 10:09:33 -05:00
dt.nu Refactor error make (#10923) 2023-11-03 10:09:33 -05:00
formats.nu add to ndjson and to jsonl to the standard library (#10519) 2023-10-02 11:50:07 +02:00
help.nu ♻️ rework some help strings (#12306) 2024-03-27 08:41:02 -05:00
input.nu Command to get individual keys (#9453) 2023-07-03 10:23:44 -05:00
iter.nu Add long options for filters (#10641) 2023-10-08 13:12:46 +02:00
log.nu fix std log (#12470) 2024-04-10 17:30:58 -04:00
math.nu move math constants to standard library (#9678) 2023-09-05 19:32:31 +02:00
mod.nu cleanup hide testing PR (#11638) 2024-01-25 06:49:04 -06:00
xml.nu Refactor error make (#10923) 2023-11-03 10:09:33 -05:00