Skip to content

Logger is the wrapper for uber/zap logger with custom configurations and presets

License

Notifications You must be signed in to change notification settings

eugeneradionov/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logger

Description

Logger is the wrapper for uber/zap logger with custom configurations and presets

Usage

import "github.com/eugeneradionov/logger"

func LoadDevelopment() (*zap.Logger, error) {
    return logger.Load(logger.Development)
}

func LoadProduction() (*zap.Logger, error) {
    return logger.Load(logger.Production)
}

About

Logger is the wrapper for uber/zap logger with custom configurations and presets

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published