module Brewer::Stats
Constants
- VERSION
Public Class Methods
json()
click to toggle source
This would be better with multiple threads, but this ain't C
# File lib/brewer/stats.rb, line 12 def self.json logger = Logger.new logger.capture_snapshot logger.store form = Formatter.new return form.get_log_contents.to_json end