Skip to content

logur/adapter-hclog

Repository files navigation

Logur adapter for hclog

GitHub Workflow Status Codecov Go Report Card Go Version go.dev reference

Installation

go get logur.dev/adapter/hclog

Usage

package main

import (
	"github.com/hashicorp/go-hclog"
	hclogadapter "logur.dev/adapter/hclog"
)

func main() {
	logger := hclogadapter.New(hclog.Default())
}

Development

When all coding and testing is done, please run the test suite:

$ make check

License

The MIT License (MIT). Please see License File for more information.