nushell/crates/nu-test-support/src
Bruce Weirdan 4f822e263f
Respect user-defined $env.NU_LOG_FORMAT and $env.NU_LOG_DATE_FORMAT (#13692)
Fixes nushell/nushell#13689

# 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
..
playground Path migration part 2: nu-test-support (#13329) 2024-07-12 02:43:10 +00:00
commands.rs Exclude polars from ensure_plugins_built(), for performance reasons (#12896) 2024-05-17 15:04:59 +00:00
fs.rs Path migration part 4: various tests (#13373) 2024-08-03 10:09:13 +02:00
lib.rs Attempt to guess the content type of a file when opening with --raw (#13521) 2024-08-06 11:36:24 +02:00
locale_override.rs Remove once_cell dependency from nu-test-support create. (#8568) 2023-03-22 19:36:52 +01:00
macros.rs Respect user-defined $env.NU_LOG_FORMAT and $env.NU_LOG_DATE_FORMAT (#13692) 2024-08-28 07:57:43 -05:00
playground.rs Path migration part 2: nu-test-support (#13329) 2024-07-12 02:43:10 +00:00