All Projects → san650 → pretty_print_formatter

san650 / pretty_print_formatter

Licence: MIT License
Pretty Print Formatter for Elixir Logger module -- Colorize Ecto's SQL ouput 🖌️

Programming Languages

elixir
2628 projects
erlang
1774 projects

Projects that are alternatives of or similar to pretty print formatter

query builder
Compose Ecto queries without effort
Stars: ✭ 56 (+154.55%)
Mutual labels:  phoenix, ecto
phoenix pagination
Simple pagination for Ecto and Phoenix that uses plain EEx templates.
Stars: ✭ 20 (-9.09%)
Mutual labels:  phoenix, ecto
phoenix passwordless login
Phoenix Passwordless Login
Stars: ✭ 28 (+27.27%)
Mutual labels:  phoenix, logger
Formex
A better form library for Phoenix
Stars: ✭ 206 (+836.36%)
Mutual labels:  phoenix, ecto
contextual
🌈 Generate your Ecto contexts using this macro and eliminate boilerplate
Stars: ✭ 18 (-18.18%)
Mutual labels:  phoenix, ecto
Params
Easy parameters validation/casting with Ecto.Schema, akin to Rails' strong parameters.
Stars: ✭ 239 (+986.36%)
Mutual labels:  phoenix, ecto
algoliax
Algolia integration to elixir application
Stars: ✭ 38 (+72.73%)
Mutual labels:  phoenix, ecto
Filterable
Filtering from incoming params in Elixir/Ecto/Phoenix with easy to use DSL.
Stars: ✭ 83 (+277.27%)
Mutual labels:  phoenix, ecto
ex format
ExFormat formats Elixir source code according to a standard set of rules
Stars: ✭ 39 (+77.27%)
Mutual labels:  formatter, pretty-printer
ecto profiler
Project for Ecto DB profiling
Stars: ✭ 16 (-27.27%)
Mutual labels:  phoenix, ecto
Phoenix Ecto Encryption Example
🔐 A detailed example for how to encrypt data in a Phoenix (Elixir) App before inserting into a database using Ecto Types
Stars: ✭ 166 (+654.55%)
Mutual labels:  phoenix, ecto
guardian trackable
A Guardian hook to track user sign ins.
Stars: ✭ 25 (+13.64%)
Mutual labels:  phoenix, ecto
Mipha
Proj Elixir Forum build with phoenix 1.5.
Stars: ✭ 153 (+595.45%)
Mutual labels:  phoenix, ecto
StyLua
An opinionated Lua code formatter
Stars: ✭ 479 (+2077.27%)
Mutual labels:  formatter, pretty-printer
Phoenix live dashboard
Realtime dashboard with metrics, request logging, plus storage, OS and VM insights
Stars: ✭ 1,657 (+7431.82%)
Mutual labels:  phoenix, ecto
winston-dev-console
Winston@3 console format aimed to improve development UX
Stars: ✭ 88 (+300%)
Mutual labels:  formatter, logger
Ecto morph
morph your Ecto capabilities into the s t r a t o s p h e r e !
Stars: ✭ 72 (+227.27%)
Mutual labels:  phoenix, ecto
Polymorphic embed
Polymorphic embeds in Ecto
Stars: ✭ 80 (+263.64%)
Mutual labels:  phoenix, ecto
querie
Compose Ecto query from the client side
Stars: ✭ 20 (-9.09%)
Mutual labels:  phoenix, ecto
ecto nested changeset
Helpers for manipulating nested Ecto changesets
Stars: ✭ 23 (+4.55%)
Mutual labels:  phoenix, ecto

pretty_print_formatter

Build Status Coverage Status

Screenshot

Elixir library for coloring the output of the logger. Right now it colorizes Ecto SQL statements and Phoenix's request id metadata.

The idea is to use colors as a way to help developers to spot easier in the console what's happening quickly.

Documentation

Documentation can be found at https://hexdocs.pm/pretty_print_formatter.

Installation

Available in Hex, the package can be installed by adding pretty_print_formatter to your list of dependencies in mix.exs:

def deps do
  [
    {:pretty_print_formatter, "~> 0.1.0"}
  ]
end

After installing the dependency you need to update the config/dev.exs configuration file and set the new formatter.

config :logger, :console, format: {PrettyPrintFormatter, :write}

Ecto formatter configuration

To display the complete list of fields on queries you can configure short_params_list to false:

config :pretty_print_formatter, :ecto,
  short_params_list: false 

License

pretty_print_formatter is licensed under the MIT license.

See LICENSE for the full license text.

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].