Mavryk_stdlib_unix.Level_config_rules
This module handles set of rules for log sections specific configurations. For instance, if one want enable section "node.context" at level debug, it would be written "node.context -> debug". The complete syntax is the following
a pattern is a <string> containing a "*"
<rules> := <rule> ; <rules> <rule> := (<pattern> ->)? <level>
A value of this form can be found in environment variables MAVRYK_LOG and LWT_LOG.
type rules = (string * Mavryk_event_logging.Internal_event.Level.t) list
find_log_rules default
checks above environment variables for set of rules
default
given configuration otherwiseval parse_rules : string -> rules
parse_rules s
parses the string s representing a set of rules