All Projects → jetruby → graphql-rails_logger

jetruby / graphql-rails_logger

Licence: MIT license
Display GraphQL queries in a more readable format

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to graphql-rails logger

Devise masquerade
Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.
Stars: ✭ 380 (+272.55%)
Mutual labels:  gem, ruby-on-rails
Lol dba
lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
Stars: ✭ 1,363 (+1236.27%)
Mutual labels:  gem, ruby-on-rails
Motion
Reactive frontend UI components for Rails in pure Ruby
Stars: ✭ 498 (+388.24%)
Mutual labels:  gem, ruby-on-rails
filtered
Filters ActiveRecord queries in a nice way
Stars: ✭ 28 (-72.55%)
Mutual labels:  gem, ruby-on-rails
exception hunter
Crash reporting engine to hunt down bugs 🐞
Stars: ✭ 78 (-23.53%)
Mutual labels:  gem, ruby-on-rails
Pig Ci Rails
Monitor your Ruby Applications metrics (Memory, SQL Requests & Request Time) as part of your test suite.
Stars: ✭ 53 (-48.04%)
Mutual labels:  gem, ruby-on-rails
Bhf
Rails-Engine-Gem that offers an admin interface for trusted user
Stars: ✭ 81 (-20.59%)
Mutual labels:  gem, ruby-on-rails
Ougai
A Ruby structured logging is capable of handling a message, custom data or an exception easily and generates JSON or human readable logs.
Stars: ✭ 187 (+83.33%)
Mutual labels:  gem, logger
active record-updated at
Touch `updated_at` by default with calls to `update_all` and `update_column(s)`
Stars: ✭ 27 (-73.53%)
Mutual labels:  gem, ruby-on-rails
lockup
Lockup Gem
Stars: ✭ 111 (+8.82%)
Mutual labels:  gem, ruby-on-rails
modular routes
Dedicated controllers for each of your Rails route actions.
Stars: ✭ 45 (-55.88%)
Mutual labels:  gem, ruby-on-rails
i18n lazy scope
Use lazy lookup with custom i18n scopes.
Stars: ✭ 11 (-89.22%)
Mutual labels:  gem, ruby-on-rails
rails cursor pagination
Add cursor pagination to your ActiveRecord backed application
Stars: ✭ 21 (-79.41%)
Mutual labels:  gem, ruby-on-rails
logt
🖥️ A colourful logger for the browser
Stars: ✭ 35 (-65.69%)
Mutual labels:  logger
visual-call-graph
Visual Call Graph will help you visualize how a method works by creating a call graph of all the other methods called.
Stars: ✭ 46 (-54.9%)
Mutual labels:  gem
chronica
Logger framework for Erlang applications
Stars: ✭ 57 (-44.12%)
Mutual labels:  logger
nexmo-oas-renderer
Render your API references, Nexmo-style!
Stars: ✭ 40 (-60.78%)
Mutual labels:  ruby-on-rails
JINS-MEME-Python-WebSocketServer-Sample
JINS MEME(2021年モデル)のJINS MEME LoggerをPythonのWebSocketサーバーで受信するサンプル
Stars: ✭ 19 (-81.37%)
Mutual labels:  logger
moesif-nodejs
Moesif Nodejs Middleware Library (formerly Moesif-Express)
Stars: ✭ 36 (-64.71%)
Mutual labels:  logger
zapier-REST-hooks
Rails engine that provides all the functionality/structure for Zapier REST hooks pattern.
Stars: ✭ 23 (-77.45%)
Mutual labels:  gem

GraphQL::RailsLogger

About

This gem allows you to inspect graphql queries in a more readable format.

This...

screenshot_before

becomes this ...

screenshot_after

Installation

Add this line to your application's Gemfile:

gem 'graphql-rails_logger'

And then execute:

$ bundle

Configuration

By default this gem formats params only for GraphqlController#execute.

If you want to change this behaviour, add config/initializers/graphql_rails_logger.rb file and set proper controller and actions like this:

GraphQL::RailsLogger.configure do |config|
  config.white_list = {
    'QueriesController' => %w(create)
  }
end

There is an option to suppress (hide) the GraphQL Introspection Query from the console output. This may be helpful to declutter the console during client testing as these can be rather lengthy.

GraphQL::RailsLogger.configure do |config|
  config.skip_introspection_query = true
end

The theme can be configured as well. The theme is applied using the rouge gem, where all available options can be found. The default value is Rouge::Themes::ThankfulEyes.new.

GraphQL::RailsLogger.configure do |config|
  config.theme = Rouge::Themes::Pastie.new
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jetruby/graphql-rails_logger. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the GraphQL::RailsLogger project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About JetRuby

GraphQL::RailsLogger is maintained and founded by JetRuby Agency.

We love open source software! See our projects or contact us to design, develop, and grow your product.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].