mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 21:21:00 +01:00
Add Setting<std::filesystem::path> specialization
Like PathSetting, this normalizes the path (without resolving symlinks).
This commit is contained in:
parent
487c6b6c46
commit
93c51acfb5
4 changed files with 17 additions and 3 deletions
|
|
@ -370,7 +370,7 @@ void applyJSONLogger()
|
|||
if (!loggerSettings.jsonLogPath.get().empty()) {
|
||||
try {
|
||||
std::vector<std::unique_ptr<Logger>> loggers;
|
||||
loggers.push_back(makeJSONLogger(std::filesystem::path(loggerSettings.jsonLogPath.get()), false));
|
||||
loggers.push_back(makeJSONLogger(loggerSettings.jsonLogPath.get(), false));
|
||||
try {
|
||||
logger = makeTeeLogger(std::move(logger), std::move(loggers));
|
||||
} catch (...) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue