Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoggerFactory ¶
type LoggerFactory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(logDir string, service string) (*LoggerFactory, error)
func NewFakeFactory ¶
func NewFakeFactory() *LoggerFactory
func (*LoggerFactory) ForPackage ¶
func (f *LoggerFactory) ForPackage(pkg string) *zap.Logger
func (*LoggerFactory) Sync ¶
func (f *LoggerFactory) Sync() error
Click to show internal directories.
Click to hide internal directories.