logutils

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 6 Imported by: 0

README

A simple uber zap log config

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirectoryIfNotExists

func CreateDirectoryIfNotExists()

func CreateZapLogger

func CreateZapLogger() *zap.Logger

CreateZapLogger Create an instance of the uber zap logger

func GetEncoder

func GetEncoder() zapcore.Encoder

func GetLogWriter

func GetLogWriter() zapcore.WriteSyncer

Types

This section is empty.

Jump to

Keyboard shortcuts

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