Module log

Source
Expand description

Contains types Nix uses for its logging, visible in the “internal-json” log messages as well as in nix-daemon communication.

Enums§

ActivityType
Error
Field
Fields in a log message can be either ints or strings. Sometimes, Nix also uses invalid UTF-8 in here, so we use BStr.
LogMessage
The different types of log messages Nix’ internal-json format can represent.
ResultType
VerbosityLevel
The different verbosity levels Nix distinguishes.

Constants§

AT_NIX_PREFIX
Every “internal-json” log line emitted by Nix has this prefix.

Functions§

serialize_bytes_as_string 🔒