nix_compat

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§

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

Constants§

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

Functions§