Sha256: a7c9bffbd538404a21bd30e7e9e26c5c7d9617fd93d3d2153bbee38d6b64804c
Contents?: true
Size: 999 Bytes
Versions: 1
Compression:
Stored size: 999 Bytes
Contents
# getaround_utils Backend shared utility classes ## Railties ### `GetaroundUtils::Railties::Lograge` Enables lograge (http logs) with favored default. ``` # config/application.rb require 'getaround_utils/railties/lograge' ``` For more details, [read the spec](getaround_utils/spec/getaround_utils/railties/lograge_spec.rb) ### `GetaroundUtils::Railties::KeyValueLogTags` Enables parse-able key-value tags in ActiveRecord::TaggedLogger ``` # config/application.rb require 'getaround_utils/railties/key_value_log_tags' ``` For more details, [read the spec](getaround_utils/spec/getaround_utils/railties/key_value_log_tags.rb) ## Misc ### `GetaroundUtils::LogFormatters::DeepKeyValue` This log formatter will serialize an object of any depth into a key-value string. It supports basic scalars (ie: `Hash`,`Array`,`Numeric`,`String`) and will call "#inspect" for any other type. For more details, [read the spec](getaround_utils/spec/getaround_utils/log_formatters/deep_key_value_spec.rb)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
getaround_utils-0.1.1 | README.md |