blackode / printex

Elixir module for printing debugging data types to terminal with colors and formats for easy identify

Home Page:https://hexdocs.pm/printex/Printex.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Printex

Printex is a Color Printer Module,helps you to print the data and strings in color format in console.

Version Changelog

v1.1.0 Changelog

Use

This module separates the different console outputs with different colors and including background colors as well. It gives you the direct focus on the console by highlighting text with colors and backgrounds.

You can use in multiple ways like printing the :error message and many formats. This helps you identify message from the regular out put of the console. You can also specify the :bg_color - Background color for the text to lay on.

Installation

Download from Hex, the package can be installed by adding printex to your list of dependencies in mix.exs:

def deps do
  [{:printex, "~> 1.1.0"}]
end

Documentation.

Screenshots

print

print

prints with foreground colors

prints

prints with background colors

prints

Printing the Warning Text

print_warning

Printing the Error Text

print_error

Printing the Info Text

print_info

Printing the map

print_info

Printing the map

print_info

Smart printing

color_print

About

Elixir module for printing debugging data types to terminal with colors and formats for easy identify

https://hexdocs.pm/printex/Printex.html


Languages

Language:Elixir 100.0%