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
..
2023-11-03 10:09:33 -05:00
2023-11-03 10:09:33 -05:00
2023-11-03 10:09:33 -05:00
2024-03-27 08:41:02 -05:00
2023-10-08 13:12:46 +02:00
2024-04-10 17:30:58 -04:00
2024-01-25 06:49:04 -06:00
2023-11-03 10:09:33 -05:00