Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::Activity Struct Reference

Public Member Functions

 Activity (Logger &logger, Verbosity lvl, ActivityType type, const std::string &s="", const Logger::Fields &fields={}, ActivityId parent=getCurActivity())
 Activity (Logger &logger, ActivityType type, const Logger::Fields &fields={}, ActivityId parent=getCurActivity())
 Activity (const Activity &act)=delete
void progress (uint64_t done=0, uint64_t expected=0, uint64_t running=0, uint64_t failed=0) const
void setExpected (ActivityType type2, uint64_t expected) const
template<typename... Args>
void result (ResultType type, const Args &... args) const
void result (ResultType type, const Logger::Fields &fields) const

Public Attributes

Logger & logger
const ActivityId id

Friends

class Logger

The documentation for this struct was generated from the following files: