zerologadapter

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package zerologadapter provides yala adapter which leverages zerolog module (https://github.com/rs/zerolog).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Logger zerolog.Logger
}

Adapter is a logger.Adapter implementation, which is using `zerolog` module (https://github.com/rs/zerolog).

func (Adapter) Log

func (l Adapter) Log(ctx context.Context, entry logger.Entry)

Log logs the entry using zerolog module.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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