Skip to content

abstractive/gnosis.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gnosis

Uniform colorized logger for decentral systems.

Many processes running together in a mesh need uniformed logs, especially when posting to syslogd through Docker.

This shard allows those individual processes to share a log format, and later it will also receive those messages and handle them without involving syslogd, as a process in the mesh itself.

This shard was extracted from Artillery.

Installation

Add this to your application's shard.yml:

gnosis:
  github: abstractive/gnosis.cr
  branch: release

Usage

require "gnosis"

Gnosis.info "Hello World."  #de Or .log
Gnosis.error "Hello World!"
Gnosis.warn "Hello World?"
Gnosis.debug "Hello World:"

License

MIT See LICENSE for more details.