module Broilerplate::Logger

Overview

Used to make our standard output look nice

Defined in:

broilerplate/logger.cr

Constant Summary

LEVELS = [{:name => :success, :color => :green, :symbol => "✓"}, {:name => :working, :color => :yellow, :symbol => "🏋️"}, {:name => :error, :color => :red, :symbol => "☠️"}]

A constant used to help the define_levels macro

SPACING = " "

Set the default spacing value

Class Method Summary

Macro Summary

Class Method Detail

def self.error(msg) #

[View source]
def self.success(msg) #

[View source]
def self.working(msg) #

[View source]

Macro Detail

macro define_levels #

Define logging methods from the LEVELS constant


[View source]