Add a snippet for log message in Ruby