Class: SelectRailsLog::Printer::NullPrinter
- Inherits:
-
BasePrinter
- Object
- Extension
- BasePrinter
- SelectRailsLog::Printer::NullPrinter
- Defined in:
- lib/select_rails_log/printer/null_printer.rb
Constant Summary
Constants included from Constants
Constants::ACTION, Constants::CLIENT, Constants::COMPLETED, Constants::CONTROLLER, Constants::DEBUG, Constants::DEFAULT_OUTPUT, Constants::DURATION, Constants::HTTP_METHOD, Constants::HTTP_STATUS, Constants::ID, Constants::INTERVAL, Constants::LOGS, Constants::MESSAGE, Constants::PARAMETERS, Constants::PATH, Constants::PERFORMANCE, Constants::PERFORMANCE_ACTIVE_RECORD, Constants::PERFORMANCE_ALLOCATIONS, Constants::PERFORMANCE_VIEWS, Constants::PID, Constants::RAW_LOGS, Constants::REQUEST_ID, Constants::SEVERITY, Constants::STARTED, Constants::TIME
Instance Attribute Summary
Attributes inherited from Extension
Instance Method Summary collapse
Methods inherited from BasePrinter
#close, #initialize, #output_directory?, #output_stdout?, #print
Methods inherited from Extension
#initialize, option_initializers
Constructor Details
This class inherits a constructor from SelectRailsLog::Printer::BasePrinter
Instance Method Details
#runnable? ⇒ Boolean
10 11 12 |
# File 'lib/select_rails_log/printer/null_printer.rb', line 10 def runnable? !![:enabled] end |