Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 01 Sep 17:13
· 24 commits to master since this release
v0.1.0
bd44664

log

Go Reference
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.WithLevel(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.


Full Changelog: https://github.com/bartventer/log/commits/v0.1.0