🏆 Elegant, fancy console logger for Crystal
Elegant, fancy console logger for Crystal
Epilog is heavily inspired by Nuxt's consola. The API is basically the same.
Add this to your application's shard.yml
:
dependencies:
epilog:
github: crystalrealm/epilog
require "epilog"
# The default reporter is the fancy one. However, if you specify anything else, you get the minimal one.
logger = Epilog::Logger.new "minimal"
# or, logger = Epilog::Logger.new
logger.success "success!"
logger.error "error!"
logger.fatal "fatal!"
logger.warn "warn!"
logger.log "log!"
logger.info "info!"
logger.start "start!"
logger.ready "ready!"
logger.debug "debug!"
logger.trace "trace!"
Epilog
exposes 10 methods to use.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)