![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| std::string | get () const |
| void | log (Verbosity lvl, std::string_view s) noexcept override |
| void | logEI (const ErrorInfo &ei) noexcept override |
| Public Member Functions inherited from nix::Logger | |
| virtual void | stop () |
| Suspension | suspend () |
| std::optional< Suspension > | suspendIf (bool cond) |
| virtual void | pause () |
| virtual void | resume () |
| virtual bool | isVerbose () |
| void | log (std::string_view s) noexcept |
| void | logEI (Verbosity lvl, ErrorInfo ei) noexcept |
| virtual void | warn (const std::string &msg) noexcept |
| virtual void | startActivity (ActivityId act, Verbosity lvl, ActivityType type, const std::string &s, std::span< const Field > fields, ActivityId parent) noexcept |
| virtual void | stopActivity (ActivityId act) noexcept |
| virtual void | result (ActivityId act, ResultType type, std::span< const Field > fields) noexcept |
| virtual void | result (ActivityId act, ResultType type, const nlohmann::json &json) noexcept |
| virtual void | writeToStdout (std::string_view s) |
| template<typename... Args> | |
| void | cout (const Args &... args) |
| void | writeStyledToStdout (std::string_view s) |
| template<typename... Args> | |
| void | coutStyled (const Args &... args) |
| virtual std::optional< char > | ask (std::string_view s) |
| virtual void | setPrintBuildLogs (bool printBuildLogs) |
|
inlineoverridevirtualnoexcept |
Implements nix::Logger.
|
inlineoverridevirtualnoexcept |
Implements nix::Logger.