Versions in this module Expand all Collapse all v0 v0.1.0 Aug 29, 2022 Changes in this version + const LOGRUS + const ZAP + func Init(opt *Option) error + func RegisterLogBuilder(builderType string, builder LogBuilder) + type LogBuilder interface + Build func(opt *Option) (Logger, error) + type Logger interface + Debug func(args ...interface{}) + Debugf func(format string, args ...interface{}) + Error func(args ...interface{}) + Errorf func(format string, args ...interface{}) + Info func(args ...interface{}) + Infof func(format string, args ...interface{}) + Warn func(args ...interface{}) + Warnf func(format string, args ...interface{}) + func Build(opt *Option) (Logger, error) + type Option struct + AddCaller bool + Code string + Level string