Skip to content

4zv4l/colored_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colored_logger

A simple colored logger from std/logging

Install

nimble install colored_logger

Example

import std/[logging]
import colored_logger

let logger = newColoredLogger(fmtStr=coolerFmtStr)
addHandler(logger)

debug "Debugging !"
info "Hello There !"
notice "Let's notice this !"
warn "Careful here !"
error "Error here please check !"
fatal "Bye :("

Look

image

About

A simple colored logger from std/logging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages