Class: Callstacking::Rails::Logger
- Inherits:
-
Object
- Object
- Callstacking::Rails::Logger
- Defined in:
- lib/callstacking/rails/logger.rb
Class Method Summary collapse
Class Method Details
.log(message) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/callstacking/rails/logger.rb', line 4 def self.log() puts if ENV['GITHUB_OUTPUT'].present? File.open(ENV['GITHUB_OUTPUT'], 'a') do |file| # Write your progress output to the file # This could be inside a loop or condition, depending on your needs file.puts "::set-output name=progress_output::#{}" end end end |