Popularity
0.4
Stable
Activity
3.7
Declining
4
0
1

Programming language: Go
License: MIT License
Tags: Logging    

structy/log alternatives and similar packages

Based on the "Logging" category.
Alternatively, view log alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of structy/log or a related project?

Add another 'Logging' Package

README

structy/log

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

Example

[[Example](examples/example.png)](examples/example.go)

package main

import (
    "fmt"
    "github.com/structy/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()")
}