Class: Snapcrawl::PrettyLogger
- Inherits:
-
Object
- Object
- Snapcrawl::PrettyLogger
- Extended by:
- LogHelpers
- Defined in:
- lib/snapcrawl/pretty_logger.rb
Constant Summary
Constants included from LogHelpers
Class Method Summary collapse
Methods included from LogHelpers
actual_colors, colors?, empty_colors, log_colors, log_colors!, log_formatter, tty?
Class Method Details
.new ⇒ Object
7 8 9 |
# File 'lib/snapcrawl/pretty_logger.rb', line 7 def self.new Logger.new(STDOUT, formatter: log_formatter, level: Config.log_level) end |