Module: AwsliveLogging
- Included in:
- Awslive::InputLooper
- Defined in:
- lib/awslive-common/logging.rb
Instance Method Summary collapse
Instance Method Details
#log(text) ⇒ Object
6 7 8 |
# File 'lib/awslive-common/logging.rb', line 6 def log(text) puts text if @log_enabled end |
#set_log_flag(flag) ⇒ Object
3 4 5 |
# File 'lib/awslive-common/logging.rb', line 3 def set_log_flag(flag) @log_enabled = flag end |