Module: ElasticGraph::Support::Logger

Defined in:
lib/elastic_graph/support/logger.rb

Defined Under Namespace

Modules: Factory Classes: Config, JSONAwareFormatter

Class Method Summary collapse

Class Method Details

.from_parsed_yaml(parsed_yaml) ⇒ Object

Builds a logger instance from the given parsed YAML config.



18
19
20
# File 'lib/elastic_graph/support/logger.rb', line 18

def self.from_parsed_yaml(parsed_yaml)
  Factory.build(config: Config.from_parsed_yaml(parsed_yaml))
end