template

package module
v0.0.0-...-6e7fdd5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 1 Imported by: 0

README

Logur integration for TEMPLATE

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

Installation

go get logur.dev/integration/template

Usage

package main

import (
	"logur.dev/logur"
	templateintegration "logur.dev/integration/template"
)

func main() {
	logger := templateintegration.New(logur.NewNoopLogger())
}

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.

Documentation

Overview

Package template provides Logur integration for TEMPLATE.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger logur.Logger) interface{}

New returns a new TEMPLATE logger.

Example
package main

import (
	"logur.dev/logur"

	templateintegration "logur.dev/integration/template"
)

func main() {
	logger := templateintegration.New(logur.NoopLogger{})

	_ = logger
}
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL