log

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggerFactory

func LoggerFactory(log *zap.Logger) func(pkgName string) logger.ILogger

LoggerFactory builds a Dragonboat compatible logger factory.

func NewLogger

func NewLogger(devMode bool, logLevel string) *zap.Logger

NewLogger builds an new application logger, all application loggers should be initialized as a child of it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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