logging

package
v0.0.0-...-a6a90d4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

package logging provides a JSON structured stdout level logger

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceLogger

type ServiceLogger struct {
	*zerolog.Logger
}

ServiceLogger is a json structured leveled logger used by the service to log messages to stdout

func New

func New(logLevel string) (ServiceLogger, error)

New creates and returns a new ServiceLogger and error (if any).

Jump to

Keyboard shortcuts

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