Categorygithub.com/bartventer/log
repositorypackage
0.2.4
Repository: https://github.com/bartventer/log.git
Documentation: pkg.go.dev

# README

log

Go Reference Go Report Card Test codecov

log provides a structured logger with context support.

Made with VHS

Refer to examples/app for the source code.

Installation

go get -u github.com/bartventer/log

Usage

package main

import (
    "github.com/bartventer/log"
)

func main() {
    logger := log.New(log.UseLevel(log.DebugLevel))
    
    logger.Debug("Oh, hi!")
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This project is a refactored version of the fantastic charmbracelet/log, which is a part of Charm.