1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-17 01:38:19 +02:00
nushell/crates/nu-std/std
Bruce Weirdan 4f822e263f
Respect user-defined $env.NU_LOG_FORMAT and $env.NU_LOG_DATE_FORMAT ()
Fixes 

# Description

Respect user-defined `$env.NU_LOG_FORMAT` and `$env.NU_LOG_DATE_FORMAT`

Additionally I fixed `nu_with_std!()` macro (it was not working
correctly)

# User-Facing Changes

Users now may set `$env.NU_LOG_FORMAT` and `$env.NU_LOG_DATE_FORMAT` in
`env.nu` and it will work even if `use std` is used after that.

# Tests + Formatting

Added a couple of tests for the new functionality.

# After Submitting
2024-08-28 07:57:43 -05:00
..
assert.nu complete the type of --error-label in std assert commands () 2024-06-05 08:02:17 +08:00
dirs.nu Refactor error make () 2023-11-03 10:09:33 -05:00
dt.nu Refactor error make () 2023-11-03 10:09:33 -05:00
formats.nu Fixes by pointing help links for ndjson to a non-spam source (take 2) () 2024-04-13 18:59:43 -05:00
help.nu Change the usage misnomer to "description" () 2024-08-22 12:02:08 +02:00
input.nu Command to get individual keys () 2023-07-03 10:23:44 -05:00
iter.nu Change behavior of into record on lists to be more useful () 2024-08-22 11:38:43 +02:00
log.nu Respect user-defined $env.NU_LOG_FORMAT and $env.NU_LOG_DATE_FORMAT () 2024-08-28 07:57:43 -05:00
math.nu move math constants to standard library () 2023-09-05 19:32:31 +02:00
mod.nu Surprising symlink resolution for std path add () 2024-06-28 18:11:48 -05:00
xml.nu Refactor error make () 2023-11-03 10:09:33 -05:00