{"id":15657484,"url":"https://github.com/san650/pretty_print_formatter","last_synced_at":"2025-05-01T02:39:56.845Z","repository":{"id":57536393,"uuid":"141355265","full_name":"san650/pretty_print_formatter","owner":"san650","description":"Pretty Print Formatter for Elixir Logger module -- Colorize Ecto's SQL ouput :paintbrush:","archived":false,"fork":false,"pushed_at":"2020-03-03T01:18:56.000Z","size":318,"stargazers_count":23,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T15:03:59.829Z","etag":null,"topics":["ecto","elixir","formatter","logger","phoenix","pretty-printer"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/san650.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-17T23:15:02.000Z","updated_at":"2024-05-11T11:14:14.000Z","dependencies_parsed_at":"2022-08-28T17:42:08.544Z","dependency_job_id":null,"html_url":"https://github.com/san650/pretty_print_formatter","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fpretty_print_formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fpretty_print_formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fpretty_print_formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fpretty_print_formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/san650","download_url":"https://codeload.github.com/san650/pretty_print_formatter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251813903,"owners_count":21648185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ecto","elixir","formatter","logger","phoenix","pretty-printer"],"created_at":"2024-10-03T13:07:23.722Z","updated_at":"2025-05-01T02:39:56.795Z","avatar_url":"https://github.com/san650.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pretty_print_formatter\n[![Build Status](https://travis-ci.org/san650/pretty_print_formatter.svg?branch=master)](https://travis-ci.org/san650/pretty_print_formatter)\n[![Coverage Status](https://coveralls.io/repos/github/san650/pretty_print_formatter/badge.svg?branch=master)](https://coveralls.io/github/san650/pretty_print_formatter?branch=master)\n\n![Screenshot](screenshot.png)\n\nElixir library for coloring the output of the logger. Right now it colorizes Ecto SQL statements and Phoenix's request id metadata.\n\nThe idea is to use colors as a way to help developers to spot easier in the console what's happening quickly.\n\n## Documentation\n\nDocumentation can be found at [https://hexdocs.pm/pretty_print_formatter](https://hexdocs.pm/pretty_print_formatter).\n\n## Installation\n\n[Available in Hex](https://hex.pm/packages/pretty_print_formatter), the package can be installed\nby adding `pretty_print_formatter` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:pretty_print_formatter, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nAfter installing the dependency you need to update the config/dev.exs\nconfiguration file and set the new formatter.\n\n\n```elixir\nconfig :logger, :console, format: {PrettyPrintFormatter, :write}\n```\n\n### Ecto formatter configuration\nTo display the complete list of fields on queries you can configure `short_params_list` to `false`:\n\n```elixir\nconfig :pretty_print_formatter, :ecto,\n  short_params_list: false \n```\n\n## License\n\npretty_print_formatter is licensed under the MIT license.\n\nSee [LICENSE](./LICENSE) for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan650%2Fpretty_print_formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsan650%2Fpretty_print_formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan650%2Fpretty_print_formatter/lists"}