diff options
| author | Dan Engelbrecht <[email protected]> | 2026-04-17 14:10:02 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-04-17 14:10:02 +0200 |
| commit | bc17147c11d2e34a287a4e2171484aa3f9e576d4 (patch) | |
| tree | 84f070b4d21fbf46b68ffd59d5d6215f8c2a8876 /src/zen/cmds/builds_cmd.cpp | |
| parent | operationlogoutput refactor (#967) (diff) | |
| download | archived-zen-bc17147c11d2e34a287a4e2171484aa3f9e576d4.tar.xz archived-zen-bc17147c11d2e34a287a4e2171484aa3f9e576d4.zip | |
log cleanup (#969)
- Improvement: New `ZEN_SCOPED_LOG(Expr)` macro routes `ZEN_INFO`/`ZEN_WARN`/`ZEN_DEBUG` in the enclosing block through the given logger expression instead of the default
- Improvement: `BuildContainer`, `SaveOplog`, and `LoadOplogContext` now take a caller-provided `LoggerRef` so diagnostic messages route through the caller's logger
Diffstat (limited to 'src/zen/cmds/builds_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/builds_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zen/cmds/builds_cmd.cpp b/src/zen/cmds/builds_cmd.cpp index baee97a52..2ff60124c 100644 --- a/src/zen/cmds/builds_cmd.cpp +++ b/src/zen/cmds/builds_cmd.cpp @@ -1260,7 +1260,7 @@ namespace builds_impl { const DownloadOptions& Options) { ZEN_TRACE_CPU("DownloadFolder"); - auto Log = [InLog]() { return InLog; }; + ZEN_SCOPED_LOG(InLog); ProgressBar::SetLogOperationName(ProgressMode, "Download Folder"); |