Categorygithub.com/omeid/log
modulepackage
0.1.0
Repository: https://github.com/omeid/log.git
Documentation: pkg.go.dev

# README

LOG

Minimalist log with semantic API and multi level lable.

GoDoc

package main

import "github.com/omeid/log"

func main() {
  l := log.New("")

  l.Info("I don't have a label. :(")
  l.Warn("This is a warning.")
  l.Error("This is a phony error.")

  c := l.New("child: ")
  c.Info("Check out my label!")
  c = c.New("grandchild: ")
  c.Notice("See, we can go deeper!")
}

Will produce:

[INFO] I don't have a label. :( 
[WARN] This is a warning. 
[ERR!] This is a phony error. 
[INFO] child: Check out my label! 
[NOTE] child: grandchild: See, we can go deeper! 

LICENSE

MIT.

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Variables

No description provided by the author

# Interfaces

No description provided by the author