Sha256: d5908dd51c0a7f13885ea20b7e6850ce3038c752a9267c0b73f89c05bbb583c2
Contents?: true
Size: 456 Bytes
Versions: 3
Compression:
Stored size: 456 Bytes
Contents
require_relative 'log_formatter_text' require_relative 'log_formatter_json' module RTALogger # Log factory to get new instance of log formatter module LogFactory def self.log_formatter_default RTALogger::LogFormatterJSON.new # RTALogger::LogFormatterText.new end def self.log_formatter_json RTALogger::LogFormatterJSON.new end def self.log_formatter_text RTALogger::LogFormatterText.new end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
RTALogger-0.1.4 | lib/log_factory_log_formatter.rb |
RTALogger-0.1.3 | lib/log_factory_log_formatter.rb |
RTALogger-0.1.2 | lib/log_factory_log_formatter.rb |