Skip to content

Commit

Permalink
schema: add global.on-unmatched option
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Dec 31, 2024
1 parent d7f8fa4 commit 56c0ecd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions module-options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ let
default = [ ];
example = [ "./node_modules/**" ];
};

on-unmatched = mkOption {
description = "Log paths that did not match any formatters at the specified log level.";
type = types.enum [
"debug"
"info"
"warn"
"error"
"fatal"
];
default = "warn";
};
};

formatter = mkOption {
Expand Down

0 comments on commit 56c0ecd

Please sign in to comment.