Skip to content

Instantly share code, notes, and snippets.


Dan Sullivan deepeeess

Block or report user

Report or block deepeeess

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
deepeeess / stats_logger.rb
Created Mar 26, 2019 — forked from LeZuse/stats_logger.rb
Puma plugin for stats logging on Heroku
View stats_logger.rb
Puma::Plugin.create do
def production?
ENV.fetch('RACK_ENV', 'development') == 'production'
def log(msg)
if production? msg
puts msg
You can’t perform that action at this time.