template

package module
v0.0.0-...-2eefeb4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 1 Imported by: 0

README

[!WARNING] This project is archived and no longer maintained. Consider using log/slog instead.

Read more about why it was archived in this post.

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
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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