Module: Mnogootex::Log
- Defined in:
- lib/mnogootex/log.rb,
lib/mnogootex/log/line.rb,
lib/mnogootex/log/level.rb,
lib/mnogootex/log/matcher.rb,
lib/mnogootex/log/processor.rb
Overview
Defined Under Namespace
Classes: Level, Line, Matcher, Processor
Constant Summary collapse
- DEFAULT_LEVELS_PATH =
Pathname.new(__dir__).join('log', 'levels.yml')
- DEFAULT_MATCHERS_PATH =
Pathname.new(__dir__).join('log', 'matchers.yml')
- DEFAULT_LEVELS =
YAML.load_file(DEFAULT_LEVELS_PATH).map { |l| [l.name, l] }.to_h.freeze
- DEFAULT_MATCHERS =
YAML.load_file(DEFAULT_MATCHERS_PATH).freeze