Awesome Go

structy/log

CategoryLogging
SubcategoryLogging
Stars0

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

About structy/log

structy/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/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()")
}

Frequently Asked Questions

What is structy/log?

structy/log is a Logging library for the Go programming language. A simple to use log system, minimalist but with features for debugging and differentiation of messages

How do I install structy/log?

Install structy/log with the Go module system using `go get structy/log`. Check the repository for the current installation instructions.

What category does structy/log belong to?

structy/log is listed under Logging, specifically Logging.

← Back to Logging