Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
/ log Public archive

A simple to use log system, minimalist but with features for debugging and differentiation of messages

License

Notifications You must be signed in to change notification settings

nuveo/log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuveo/log

Build Status A simple to use log system, minimalist but with features for debugging and differentiation of messages

Example

Example

package main

import (
    "fmt"
    "github.com/nuveo/log"
)

func main() {
    log.Debugln("Debug message")

    log.DebugMode = false
    log.Debugln("Debug message that will be hidden")

    log.Println("Info message")
    log.Warningln("Warning message")
    log.Errorln("Error message")
    log.Fatal("Fatal error message")
    fmt.Println("I will never be printed because of Fatal()")
}

About

A simple to use log system, minimalist but with features for debugging and differentiation of messages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published