Nix 2.29.1
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::JSONLogger Struct Reference
Inheritance diagram for nix::JSONLogger:

Classes

struct  State

Public Member Functions

 JSONLogger (Descriptor fd)
bool isVerbose () override
void addFields (nlohmann::json &json, const Fields &fields)
void write (const nlohmann::json &json)
void log (Verbosity lvl, std::string_view s) override
void logEI (const ErrorInfo &ei) override
void startActivity (ActivityId act, Verbosity lvl, ActivityType type, const std::string &s, const Fields &fields, ActivityId parent) override
void stopActivity (ActivityId act) override
void result (ActivityId act, ResultType type, const Fields &fields) override

Public Attributes

Descriptor fd
Sync< State_state

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/nix-2.29.1-build/nix-2.29.1/src/libutil/logging.cc