logwrapper

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 9 Imported by: 1

README

logwrapper

zerolog wrapper

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(c Config) error

Init should be called before any usuge of logwrapper or behaviour will be undefined

func Wrapper

func Wrapper() *logWrapper

Wrapper get logger wrapper

Types

type Config

type Config interface {
	LogLevel() string
	LogFileName() string
	LogConsole() bool
	LogTimeFormat() string
}

Config wrapper configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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