Elixir module for Console color printing the strings and any data to differ from the regular data. Errors printing Red makes sense to pick out easily from the common console out put. It holds many like such things warnings, info etc...
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets/images
config
doc
docs
lib
test
.gitignore
README.md
mix.exs
mix.lock

README.md

Printex

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

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, "~> 0.1.3"}]
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

Smart printing

color_print