Sha256: 3e00eb49e6d6ebb9c6c6cde650d797f81df05886d99a704e787bf1f1fb617596
Contents?: true
Size: 413 Bytes
Versions: 118
Compression:
Stored size: 413 Bytes
Contents
class @EffectiveLogger @log = (message, status = 'info', details...) -> $.ajax type: 'POST', url: '/logs.json' data: effective_log: message: message status: status details: JSON.stringify(details) true <% EffectiveLogging.statuses.each do |status| %> <%= "@#{status} = (message, details...) -> @log(message, '#{status}', details)" %> <% end %>
Version data entries
118 entries across 118 versions & 1 rubygems